---
title: "Update the file upload storage account configuration"
method: PATCH
path: "/fileUploads"
---

# Update the file upload storage account configuration

`PATCH /fileUploads`

## Query parameters

- `api-version` string, required

## Headers

- `If-Match` string

## Request body

- object

## Response `200`

Success

- FileUpload — The file upload configuration definition.
  - `account` string — The storage account name where to upload the file to
  - `connectionString` string, required — The connection string used to configure the storage account
  - `container` string, required — The name of the container inside the storage account
  - `sasTtl` string — ISO 8601 duration standard, The amount of time the device’s request to upload a file is valid before it expires.
  - `state` 'pending' | 'updating' | 'deleting' | 'succeeded' | 'failed' — The state of the file upload configuration
  - `etag` string — ETag used to prevent conflict with multiple uploads
  - `readAccess` boolean — The flag indicate if user be able to access device uploaded files from IoT Central portal

## Other responses

- `default` — An error response received from the IoT Central Service.

---

[API](https://skmtc.net/azure/apis/iotcentral-iotcentral.md) · [All operations](https://skmtc.net/azure/apis/iotcentral-iotcentral/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/iotcentral-iotcentral/versions/565d8813cbd3/schema)
