cURL
curl --request PUT \ --url https://api.artosai.com/alerts/rules/{ruleId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "rule_type": "<string>", "conditions": {}, "notification": {}, "enabled": true } '
{ "rule_id": "<string>", "name": "<string>", "description": "<string>", "rule_type": "<string>", "conditions": {}, "notification": {}, "enabled": true, "created_at": "2023-11-07T05:31:56Z", "last_triggered": "2023-11-07T05:31:56Z" }
Modifies an existing alert rule.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Alert rule updated
Configuration for an alert rule.