Synthetic locations API - DELETE a location

Deletes an existing private synthetic location. Deletion cannot be undone.

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

Parameters

Parameter Type Description In Required
locationId string

The Dynatrace entity ID of the private synthetic location to be deleted.

path required

Response format

A successful request doesn't return any content.

Example

In this example, the request deletes the private synthetic location from 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/v1/synthetic/locations/SYNTHETIC_LOCATION-8F419D1B53639A45 \
  -H 'Authorization: Api-Token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/v1/synthetic/locations/SYNTHETIC_LOCATION-8F419D1B53639A45

Response code

204