Deletes currently active environment configuration of the specified Extensions 2.0 extension.
The request produces an application/json payload.
| DELETE | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/environmentConfiguration |
| DELETE | Environment and Cluster ActiveGate (default port 9999) | 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.writeOne of the following permissions is required for personal access tokens:
environment:roles:manage-settingsextensions:definitions:writeTo learn how to obtain and use it, see Personal access tokens.
Required scope: extensions:definitions:write
To learn how to obtain and use it, see Platform tokens or OAuth clients.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| extensionName | string | The name of the requested extension 2.0. | path | Required |
| Code | Type | Description |
|---|---|---|
| 200 | Extension | Success. Environment configuration deactivated. |
| 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 |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"version": "1.2.3"}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}