Delete specific environment
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
This API call deletes the specified environment. An environment must be disabled before it can be deleted.
To execute this request, you need the Service Provider API (
ServiceProviderAPI) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
The ID of the environment to be deleted.
Deleted. Response does not have a body.
Failed. For example, if an environment is not disabled.
Deletes the environment
1curl -X DELETE "https://myManaged.cluster.com/api/cluster/v2/environments/19a963a7-b19f-4382-964a-4df674c8eb8e" -H "accept: */*" -H "Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890"
Response does not have a body.