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

# Edit Azure Data Source

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

Edit the metadata of an Azure data source. Metadata refers to any property of the data source that is not related to the data source's cloud data itself.

## Path parameters

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

## Request body

- EditAzureDataSourceRequest
  - `name` string — The new display name to give to the Azure data source

## Response `200`

OK. Returns the edited Azure data source.

- AzureDataSourceObject
  - `dataSourceId` string, required — Azure data source ID
  - `type` 'azure', required
  - `params` object, required
    - `name` string, required
    - `importType` 'adApp' | 'cliJson', required
    - `subscriptionId` string — The ID of the linked Azure subscription (only for adApp import types)
    - `resourceSelection` string[] — List of Azure resources included in the data source (only for adApp import types)

---

[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)
