Azure credentials API - DELETE credentials

Deletes the specified Azure credentials configuration. You can't undo a deletion.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/azure/credentials/{id}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/azure/credentials/{id}

Authentication

To execute this request, you need the Write configuration (WriteConfig) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
id string

The ID of the required Azure credentials configuration.

path required

Response format

A successful request doesn't return any content.

Example

In this example, the request deletes Azure app-level credentials from the POST request example. The response code of 204 indicates that the deletion was successful.

The API token is passed in the Authorization header.

Curl

curl -X DELETE \
  https://mySampleEnv.live.dynatrace.com/api/config/v1/azure/credentials/AZURE_CREDENTIALS-357FDA338DAAF338 \
  -H 'Authorization: Api-token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/azure/credentials/AZURE_CREDENTIALS-357FDA338DAAF338

Response code

204