• Home
  • Dynatrace API
  • Configuration
  • Credential vault
  • DELETE a set of credentials

Credential vault API - DELETE a set of credentials

Deletes the specified set of credentials for synthetic monitors.

DELETEManaged 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}
Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/credentials/{id}

Authentication

To execute this request, you need an access token with Write credential vault entries (credentialVault.write) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the credentials set to be deleted.

pathrequired

Response

Response codes

CodeDescription
204

Success. The credentials set has been deleted. Response doesn't have a body.

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

shell
curl -X DELETE \ https://mySampleEnv.live.dynatrace.com/api/config/v1/credentials/CREDENTIALS_VAULT-1E6EA5075AF7E85D \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

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

Response code

204

Related topics
  • Configure browser monitors

    Learn about configuring browser monitors and clickpaths.

  • Configure HTTP monitors

    Learn about configuring HTTP monitors.