Platform Operations/Platform Self-Monitor
PUTPlatformSince 1.0SynchronousAuth Required
UpdateSelfMonRule
Update the threshold of an existing self-monitoring alert rule.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
ruleIdStringRequiredID of the 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/self-monitor/rules/{ruleId}
/api/v1/self-monitor/rules/{ruleId}
Request Example
curl -X PUT '{host}/api/v1/self-monitor/rules/{ruleId}' -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{
"id": "rule-selfmon-001",
"name": "High Error Rate",
"description": "Fires when API error rate exceeds threshold",
"severity": "warning",
"threshold": 0.05,
"builtin": true
}Change History
This API has no change history records yet.
