Try it free

Delete an extension version

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Delete a specified Extension 2.0 version in Dynatrace with the Extensions API by name and version, and receive an accepted response.

DELETESaaShttps://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/extensions/{extension-name}/{extension-version}

Overview

You delete a specific Extension 2.0 version by providing the extension name and extension version path parameters. The operation returns 202 when Dynatrace accepts the deletion request.

Authentication

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

Parameters

ParameterTypeDescriptionInRequired
extension-namestring

The name of the requested Extension 2.0.

pathRequired
extension-versionstring

The version of the requested Extension 2.0

pathRequired

Response

Response codes

CodeTypeDescription
202Extension

Accepted.

4XXErrorEnvelope

Client error.

5XXErrorEnvelope

Server error.

Response body objects

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
codeinteger

The HTTP status code.

detailsErrorDetails

The error details.

messagestring

The error message.

The ErrorDetails object

The error details.

ElementTypeDescription
constraintViolationsConstraintViolation[]

A list of constraint violations.

The ConstraintViolation object

A list of constraint violations.

ElementTypeDescription
locationstring-
messagestring-
parameterLocationstring-
The element can hold these values
  • HEADER
  • PATH
  • PAYLOAD_BODY
  • QUERY
pathstring-

Response body JSON models

{
"error": {
"code": 1,
"details": {
"constraintViolations": [
{
"location": "string",
"message": "string",
"parameterLocation": "HEADER",
"path": "string"
}
]
},
"message": "string"
}
}
Related tags
Platform APIDynatrace PlatformInfrastructure Observability