Synthetic monitors API - DELETE a monitor

Deletes the specified monitor.

This request is an early adopter release and may be changed in non compatible way.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/synthetic/monitors/{monitorId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/monitors/{monitorId}

Parameters

Parameter Type Description In Required
monitorId string

The ID of the synthetic monitor to be deleted.

path required

Response format

A successful request doesn't return any content.

Example

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

Curl

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

Request URL

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

Response code

200