{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-monitors-monitor-update-request-schema.json", "title": "MonitorUpdateRequest", "description": "Request body for updating an existing monitor configuration", "type": "object", "properties": { "type": { "type": "string", "description": "The type of the monitor (changing type may reset other settings)", "example": "metric alert" }, "query": { "type": "string", "description": "The updated monitor query expression", "example": "avg:system.cpu.user{*}" }, "name": { "type": "string", "description": "The updated descriptive name for the monitor", "example": "Example Monitor" }, "message": { "type": "string", "description": "The updated notification message body", "example": "CPU usage is high on {{host.name}}" }, "tags": { "type": "array", "description": "The updated list of tags to associate with the monitor", "items": { "type": "string" } }, "options": { "$ref": "#/components/schemas/MonitorOptions" }, "priority": { "type": "integer", "description": "The updated priority level (1 highest to 5 lowest)", "minimum": 1, "maximum": 5, "example": 42 } } }