Deletes an ActiveGate token.
DELETE | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/activeGateTokens/{activeGateTokenIdentifier} |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/activeGateTokens/{activeGateTokenIdentifier} |
To execute this request, you need an access token with activeGateTokenManagement.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ActiveGate token identifier, consisting of prefix and public part of the token to be deleted.
Success. Response doesn't have a body.
In this example, the request deletes the token with the ID of dt0g02.xyz789.
The API token is passed in the Authorization header.
curl --request DELETE \--url https://mySampleEnv.live.dynatrace.com//api/v2/activeGateTokens/dt0g02.xyz789 \--header 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com//api/v2/activeGateTokens/dt0g02.xyz789
204