Alerting & Response/Alert Rules
PUTAlertingSince 1.0SynchronousAuth Required
UpdateAlertRule
ListRules removed: use RuleManagementService.ListRulesFiltered instead. Update an existing alert rule with partial or full field changes
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
ruleUuidStringRequiredUUID of the alert rule to update
Body Fields
nameStringRequiredNew name for the alert rule
Example: Updated CPU Alert
descriptionStringRequiredNew description for the rule
Example: Updated alert description
operatorStringRequiredNew comparison operator
Example: >
thresholdLongRequiredNew threshold value
Example: 85
durationIntegerRequiredNew duration in seconds
Example: 300
Responses
Endpoint
PUT/api/v1/alerting/rules/{ruleUuid}
/api/v1/alerting/rules/{ruleUuid}
Request Example
curl -X PUT '{host}/api/v1/alerting/rules/{ruleUuid}' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"Updated CPU Alert","description":"Updated alert description","operator":">","threshold":85.0,"duration":300,"severity":"warning","state":"disabled","notifyUrl":"https://example.com/callback","actions":"(nested array)","updateActions":true,"labelSelectors":"(nested object)","updateLabelSelectors":true}'
Response Example
200{
"uuid": "rule-abc123-def456",
"name": "High CPU Usage",
"description": "Triggers when CPU usage exceeds 90% for 5 minutes",
"resourceType": "vm",
"metricName": "cpu_usage_percent",
"operator": ">",
"threshold": 90.0,
"duration": 300
}Change History
This API has no change history records yet.
