IntegrationsDatadogActions
Check whether a Datadog monitor can be deleted
Preflight whether a monitor can be deleted and list blocking references. Requires monitors_read. Advisory only; references can change before delete.
monitors.can_delete · Datadog · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
monitor_id | integer | Yes | minimum 1 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
monitor_id | integer | Yes | minimum 1 |
can_delete | boolean | Yes | — |
blocking_references | array<string> | Yes | maxItems 50 |
blocking_references[] | string | Yes | maxLength 500 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"monitor_id": {
"type": "integer",
"minimum": 1
}
},
"required": [
"monitor_id"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"monitor_id": {
"type": "integer",
"minimum": 1
},
"can_delete": {
"type": "boolean"
},
"blocking_references": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"maxItems": 50
}
},
"required": [
"monitor_id",
"can_delete",
"blocking_references"
]
}