Plugins API - DELETE plugin ZIP file

Deletes the ZIP file of the specified plugin from Dynatrace.

Deletion of a plugin file uninstalls the plugin, making it unavailable for use.

This request is in beta and may be changed in non compatible way.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/plugins/{id}/binary
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/plugins/{id}/binary

Parameters

Parameter Type Description In Required
id string

The ID of the plugin to be deleted.

path required

Response format

A successful request doesn't return any content.

Example

In this example, the request deletes the MathPlugin with the ID of custom.remote.python.simple_math from the mySampleEnv environment. The response code of 204 indicates that the deletion was successful.

The API token is passed in the Authorization header.

Curl

curl -X DELETE \
  https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.simple_math/binary \
  -H 'Authorization: Api-token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.simple_math/binary

Response code

204