• Home
  • Dynatrace API
  • Configuration
  • Plugins
  • DELETE a plugin's endpoint

Plugins API - DELETE a plugin's endpoint

Deletes the specified endpoint of the ActiveGate plugin.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/config/v1/plugins/{id}/endpoints/{endpointId}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/plugins/{id}/endpoints/{endpointId}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/plugins/{id}/endpoints/{endpointId}

Authentication

To execute this request, you need an access token with WriteConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the plugin where you want to delete an endpoint.

pathrequired
endpointIdstring

The ID of the endpoint to be deleted.

pathrequired

Response

Response codes

CodeDescription
204

Deleted. Response doesn't have a body.

Example

In this example, the request deletes the endpoint with the ID of 8757307336635955682 from the SAP plugin, which has the ID of custom.remote.python.sap. The response code of 204 indicates that the deletion was successful.

The API token is passed in the Authorization header.

Curl

bash
curl -X DELETE \ https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.sap/endpoints/8757307336635955682 \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

plaintext
DELETE https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.sap/endpoints/8757307336635955682

Response code

204