Try it free

Delete a private synthetic location

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026
  • Early Access

Delete a private synthetic location in Dynatrace with the Synthetic API by specifying its location ID. The operation returns no content when deletion succeeds.

DELETESaaShttps://{your-environment-id}.apps.dynatrace.com/platform/synthetic/v1/locations/{location-id}

Overview

Provide the location-id path parameter to identify the private synthetic location you want to delete. Dynatrace returns a 204 response with no body when the location has been removed.

Authentication

To execute this request, you need a platform token or OAuth access token with synthetic:locations:write scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
location-idstring

The ID of the private synthetic location to be deleted.

pathRequired

Response

Response codes

CodeTypeDescription
204-

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

4XXErrorResponseEnvelope

Client side error.

5XXErrorResponseEnvelope

Server side error.

Response body objects

The ErrorResponseEnvelope object

Encloses the encountered error.

ElementTypeDescription
errorErrorResponse

Basic information of the encountered error.

The ErrorResponse object

Basic information of the encountered error.

ElementTypeDescription
codeinteger

The returned HTTP status code.

detailsErrorResponseDetails

Detailed information of the error.

messagestring

Description of the encountered error.

The ErrorResponseDetails object

Detailed information of the error.

ElementTypeDescription
typestring

Defines the actual set of fields depending on the value. See one of the following objects:

  • constraintViolation -> ConstraintViolationDetails
The element can hold these values
  • constraintViolation

Response body JSON models

{
"error": {
"code": 1,
"details": {
"type": "constraintViolation"
},
"message": "string"
}
}
Related tags
Platform APIDynatrace PlatformDigital Experience