Deletes the ZIP file of the specified plugin from Dynatrace.
Deletion of a plugin file uninstalls the plugin, making it unavailable for use.
DELETE | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/plugins/{id}/binary |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/plugins/{id}/binary |
To execute this request, you need an access token with WriteConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ID of the plugin to be deleted.
Deleted. Response doesn't have a body.
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 -X DELETE \https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.simple_math/binary \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.simple_math/binary
204