---
title: "Update Azure Credential"
method: PATCH
path: "/v1/credentials/azure/{azureCredentialId}"
tags: ["Cloud"]
---

# Update Azure Credential

`PATCH /v1/credentials/azure/{azureCredentialId}`

Update an existing credential for Azure.

## Path parameters

- `azureCredentialId` string, required — Azure credential ID

## Request body

- UpdateAzureCredentialRequest
  - `name` string — When provided, the name to give the updated credential
  - `clientId` string, uuid — When provided, the ID of the application from which to import resource metadata for your subscriptions
  - `tenantId` string, uuid — When provided, the ID of the directory to be used during authentication
  - `clientSecret` string — When provided, the secret to be used for authentication
  - `linkType` 'global' | 'government' — The type of Azure environment the credential is for

## Response `200`

OK. Returns the updated Azure credential.

- AzureCredentialObject
  - `credentialId` string, required — Azure credential ID
  - `type` 'azure', required
  - `params` object, required
    - `name` string, required — Name of the credential
    - `clientId` string, uuid, required — The ID of the application from which resource metadata was imported for your subscriptions
    - `tenantId` string, uuid, required — The ID of the directory that was used during authentication
    - `linkType` 'global' | 'government', required — The type of Azure environment the credential is for

## Other responses

- `403` — Forbidden. Occurs when the credential was not found or the user does not have access to it.

---

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