• Home
  • Dynatrace API
  • Configuration
  • RUM
  • Applications detection
  • DELETE a rule

Applications detection rules API - DELETE a rule

Deletes the specified application detection rule.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/config/v1/applicationDetectionRules/{id}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/applicationDetectionRules/{id}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/applicationDetectionRules/{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 application detection rule to be deleted.

pathrequired

Response

Response codes

CodeDescription
204

Deleted. Response doesn't have a body.

Example

In this example, the request deletes the application detection rule 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

bash
curl -X DELETE \ https://mySampleEnv.live.dynatrace.com/api/config/v1/applicationDetectionRules/9568a82b-73d8-4b18-be1a-4289433e2619 \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

plaintext
https://mySampleEnv.live.dynatrace.com/api/config/v1/applicationDetectionRules/9568a82b-73d8-4b18-be1a-4289433e2619

Response code

204

Related topics
  • Real User Monitoring

    Learn about Real User Monitoring, key performance metrics, mobile app monitoring, and more.

  • Check application detection rules

    Learn how you can easily understand detection rules of your RUM application.

  • Define applications for Real User Monitoring

    Learn how to define your applications following the suggested, manual, application detection rules, or browser extension approach.