Alerts
Enable or disable alert
Toggles the active status of an alert to enable or disable its monitoring and notification functionality. When disabled, the alert will stop evaluating conditions and sending notifications until re-enabled.
patch/api/v2/{org_id}/alerts/{alert_id}/enable
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring required
Organization name
alert_idstring required
Alert ID
Query parameters
valueboolean required
Set to true to enable the alert or false to disable the alert.
folderstring
Pass the folder id — required for rbac (enterprise), optional for oss
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.