/v2/monitoring/alerts/{alert_uuid}Replace an alert policy
Replaces the configuration of an existing alert policy identified by its UUID. Provide the complete policy configuration, including its metric type, threshold, evaluation window, monitored entities, tags, notifications, and enabled state. A 200 response returns the updated alert policy.
Complete alert policy configuration. Include all required fields: type, description, compare, value, window, entities, tags, alerts, and enabled.
A 401 is returned when authentication credentials are invalid, a 404 when the alert policy is not found, a 429 when the API rate limit is exceeded, and a 500 when a server error occurs. The alert_uuid path parameter must identify an existing alert policy. The body requires type, description, compare, value, window, entities, tags, alerts, and enabled; compare must be GreaterThan or LessThan, and window must be 5m, 10m, 30m, or 1h.