• Home
  • Dynatrace API
  • Environment
  • Extensions 2.0
  • Extensions
  • DELETE an extension version

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.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/{extensionVersion}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/{extensionVersion}
Environment ActiveGatehttps://{your-activegate-domain}/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

ParameterTypeDescriptionInRequired
extensionNamestring

The name of the requested extension 2.0.

pathrequired
extensionVersionstring

The version of the requested extension 2.0

pathrequired

Response

Response codes

CodeTypeDescription
200Extension

Success. The extension 2.0 version has been deleted.

400ErrorEnvelope

Failed. The input is invalid.

404ErrorEnvelope

Failed. The requested resource doesn't exist.

Response body objects

The Extension object

ElementTypeDescription
extensionNamestring

Extension name

versionstring

Extension version

authorAuthorDto

Extension author

dataSourcesstring[]

Data sources that extension uses to gather data

variablesstring[]

Custom variables used in extension configuration

featureSetsstring[]

Available feature sets

featureSetsDetailsobject

Details of feature sets

minDynatraceVersionstring

Minimal Dynatrace version that works with the extension

minEECVersionstring

Minimal Extension Execution Controller version that works with the extension

fileHashstring

SHA-256 hash of uploaded Extension file

The AuthorDto object

Extension author

ElementTypeDescription
namestring

Author name

The FeatureSetDetails object

Additional information about a Feature Set

ElementTypeDescription
metricsMetricDto[]

Feature set metrics

The MetricDto object

Metric gathered by an extension

ElementTypeDescription
keystring

Metric key

metadataMetricMetadataDto

Metric metadata

The MetricMetadataDto object

Metric metadata

ElementTypeDescription
displayNamestring

The name of the metric in the user interface

descriptionstring

A short description of the metric

unitstring

The unit of the metric

Response body JSON model

json
{ "extensionName": "string", "version": "1.2.3", "author": { "name": "string" }, "dataSources": [ "string" ], "variables": [ "string" ], "featureSets": [ "string" ], "featureSetsDetails": {}, "minDynatraceVersion": "string", "minEECVersion": "string", "fileHash": "string" }
Related topics
  • Extensions

    Learn about the extensions framework offered by Dynatrace.