• Home
  • Dynatrace API
  • Environment
  • Synthetic v1
  • Monitors
  • DELETE a monitor

Synthetic monitors API - DELETE a monitor

Deletes the specified monitor.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/{monitorId}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}

Authentication

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

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

Parameters

ParameterTypeDescriptionInRequired
monitorIdstring

The ID of the synthetic monitor to be deleted.

pathrequired

Response

Response codes

CodeDescription
204

Success. The synthetic monitor has been deleted. The response doesn't have a body

Example

In this example, the request deletes the restExample monitor that has the ID of SYNTHETIC_TEST-00000000000254E2.

Curl

bash
curl -X DELETE \ https://mySampleEnv.live.dynatrace.com/api/v1/synthetic/monitors/SYNTHETIC_TEST-00000000000254E2 \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

plaintext
https://mySampleEnv.live.dynatrace.com/api/v1/synthetic/monitors/SYNTHETIC_TEST-00000000000254E2

Response code

200

Related topics
  • Synthetic Monitoring

    Learn about Synthetic Monitoring and how to create a single-URL browser monitor, a browser clickpath, or an HTTP monitor.