Try it free

Install an Extension 2.0

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Install an Extension 2.0 from the Hub in Dynatrace with the Extensions 2.0 API, using the extension name and optional version.

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

Overview

You provide the extension-name path parameter and can set version to choose which Extension 2.0 version to install. The operation returns a 202 response when the version is installed and active.

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
versionstring

The version of Extension 2.0 to install. If not specified, the recommended version from the Dynatrace Hub shall be installed.

queryOptional

Response

Response codes

CodeTypeDescription
202RegisteredExtensionResult

Accepted. The extension version is installed and active. If the requested version was already the active environment configuration, this is an idempotent no-op (no backend state changes).

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