Extensions 2.0 API - DELETE an extension version
Deletes the specified version of an 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}/{extensionVersion} |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/{extensionVersion} | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/{extensionVersion} |
Authentication
To execute this request, you need an access token with extensions.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
extensionName | string | The name of the requested extension 2.0. | path | required |
extensionVersion | string | The version of the requested extension 2.0 | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Extension | Success. The extension 2.0 version has been deleted. |
400 | ErrorEnvelope | Failed. The input is invalid. |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
Response body objects
The Extension
object
Element | Type | Description |
---|---|---|
author | AuthorDto | Extension author |
dataSources | string[] | Data sources that extension uses to gather data |
extensionName | string | Extension name |
featureSets | string[] | Available feature sets |
featureSetsDetails | object | Details of feature sets |
fileHash | string | SHA-256 hash of uploaded Extension file |
minDynatraceVersion | string | Minimal Dynatrace version that works with the extension |
minEECVersion | string | Minimal Extension Execution Controller version that works with the extension |
variables | string[] | Custom variables used in extension configuration |
version | string | Extension version |
The AuthorDto
object
Extension author
Element | Type | Description |
---|---|---|
name | string | Author name |
The FeatureSetDetails
object
Additional information about a Feature Set
Element | Type | Description |
---|---|---|
metrics | MetricDto[] | Feature set metrics |
The MetricDto
object
Metric gathered by an extension
Element | Type | Description |
---|---|---|
key | string | Metric key |
metadata | MetricMetadataDto | Metric metadata |
The MetricMetadataDto
object
Metric metadata
Element | Type | Description |
---|---|---|
description | string | A short description of the metric |
displayName | string | The name of the metric in the user interface |
unit | string | The unit of the metric |
Response body JSON model
1{2 "author": {3 "name": "string"4 },5 "dataSources": [6 "string"7 ],8 "extensionName": "string",9 "featureSets": [10 "string"11 ],12 "featureSetsDetails": {},13 "fileHash": "string",14 "minDynatraceVersion": "string",15 "minEECVersion": "string",16 "variables": [17 "string"18 ],19 "version": "1.2.3"20}