Try it free

Validate an extension

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Validate a new Extension 2.0 in Dynatrace with the Extensions API and check it for errors without saving any changes.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/extensions:validate

Overview

You validate a new Extension 2.0 with the request body. The operation performs the same checks as upload, but it does not persist changes and returns 204 with no body.

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
bodystring

Extension 2.0 zip file to upload.

bodyRequired

Request body objects

The RequestBody object

Response

Response codes

CodeTypeDescription
204-

Success. Response doesn't have a body.

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