Alerting profiles API - DELETE a profile

  • Reference

This API is deprecated. Use the Settings API instead. Look for the Problem alerting profiles (builtin:alerting.profile) schema.

Deletes the specified alerting profile. Deletion can't be undone. The Default alerting profile can't be deleted.

DELETESaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/alertingProfiles/{id}
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/alertingProfiles/{id}

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 alerting profile to be deleted.

pathrequired

Response

Response codes

CodeDescription
204

Success. The alerting profile has been deleted. Response doesn't have a body.

Example

In this example, the request deletes the alerting profile from the POST request example. 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/alertingProfiles/19e50c27-8aed-408f-ad44-d6a1bf856f49 \
-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/alertingProfiles/19e50c27-8aed-408f-ad44-d6a1bf856f49

Response code

204