Credential vault API - DELETE a set of credentials

Deletes the specified set of credentials for synthetic monitors.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

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

Authentication

To execute this request, you need the Write Credential Vault entries (credentialVault.write) permission assigned to your API token. To learn how to obtain and use it, see Authentication.

Parameters

Parameter Type Description In Required
id string

The ID of the credentials set to be deleted.

path required

Response format

A successful request doesn't return any content.

Example

In this example, the request updates the set of credentials created in 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/credentials/CREDENTIALS_VAULT-1E6EA5075AF7E85D \
  -H 'Authorization: Api-token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/credentials/CREDENTIALS_VAULT-1E6EA5075AF7E85D

Response code

204