Activates the specified version of an Extensions 2.0 extension.
The request consumes and produces an application/json payload.
| PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/environmentConfiguration |
| Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration |
To execute this request, you need an access token with one of the following scopes:
extensionEnvironment.writeextensions.writeTo learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| extensionName | string | The name of the requested extension 2.0. | path | required |
| body | Extension | The version of the requested environment configuration. | body | required |
ExtensionEnvironmentConfigurationVersion object| Element | Type | Description | Required |
|---|---|---|---|
| version | string | Extension version | required |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"version": "1.2.3"}
| Code | Type | Description |
|---|---|---|
| 200 | Extension | Success. Environment configuration updated. |
| 400 | Error | Failed. The input is invalid. |
| 404 | Error | Failed. The requested resource doesn't exist. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
ExtensionEnvironmentConfigurationVersion object| Element | Type | Description |
|---|---|---|
| version | string | Extension version |
{"version": "1.2.3"}