---
title: "Update Azure Data Source"
method: POST
path: "/v1/dataSources/azure/{azureDataSourceId}"
tags: ["Cloud"]
---

# Update Azure Data Source

`POST /v1/dataSources/azure/{azureDataSourceId}`

Update an existing Azure data source to reflect the latest state of data in Azure. Optionally updates the resources included in the data source as well. Returns a jobId that can be used to monitor progress through the Get "Update Azure Data Source" Job Status endpoint.

## Path parameters

- `azureDataSourceId` string, required — Azure data source ID

## Request body

- UpdateAzureDataSourceRequest
  - `resourceSelection` string[] — The Azure resources to include in the data source. Use the "Get Fully Supported Azure Resources" endpoint to see a list of all supported resources.

## Response `202`

Accepted. Occurs when the update job has been queued.

- JobReferenceIdResponse
  - `jobId` string, required — Unique identifier for an asynchronous job

## Other responses

- `400` — Bad Request. Occurs when the data source ID is malformatted.
- `403` — Forbidden. Occurs when the data source does not exist or the user does not have access to it.
- `409` — Conflict. Occurs when an update job is already in progress for this data source.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
