> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Or Update A File

Create or update a configuration file.

**Required token**: `Configuration Write Access`.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                          |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Content   | The file content (JSON). Set to "" to create an empty file. See [dashboard JSON](https://app.scalyr.com/help/dashboards#editingjson) for more on the syntax of a configuration file. |
  | Path      | The path to the file. Can be obtained via the `List Files` action. See [configuration files](https://app.scalyr.com/help/config) for more information.                               |
</div>

## Example Output

```json theme={"dark"}
{
  "status":  "success",
}
```

## Workflow Library Example

[Create or Update a File with Dataset and Send Results Via Email](https://library.blinkops.com/workflows/create-or-update-a-file-with-dataset-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-or-update-a-file-with-dataset-and-send-results-via-email/canvas" />
</div>
