Remote environments API - DELETE a remote environment configuration

Deletes the specified remote environment configuration.

The request consumes and produces an application/json payload.

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/remoteEnvironments/{id}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/remoteEnvironments/{id}

Parameters

Parameter Type Description In Required
id string path required

Response format

A successful request doesn't return any content.

Example

In this example, the request deletes the Pre-Production remote environment 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/remoteEnvironments/c89b9d9f-8c59-4c5b-b7ef-1a082d11e9ba \  
  -H 'Authorization: Api-token abcdefghij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/remoteEnvironments/c89b9d9f-8c59-4c5b-b7ef-1a082d11e9ba

Response code

204