Monitors

Check if a monitor can be deleted

Check if the given monitors can be deleted.

get/api/v1/monitor/can_delete

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/monitor/can_delete
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: monitors_read

Query parameters

monitor_idsinteger[] required

The IDs of the monitor to check.

[
  666486743
]

Response

OK

errorsobject nullable

A mapping of Monitor ID to strings denoting where it's used.

Example response

{
  "data": {}
}

Changes

No recorded changes to this operation across all 1 revision of this API.