ViewSet for managing alert rules.
cURL
curl --request PATCH \ --url https://api.avala.ai/api/v1/fleet/rules/{uid}/ \ --header 'Content-Type: application/json' \ --header 'X-Avala-Api-Key: <api-key>' \ --data ' { "name": "<string>", "condition": {}, "description": "<string>", "enabled": true, "actions": {}, "scope": {} } '
{ "name": "<string>", "condition": {}, "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "description": "<string>", "enabled": true, "actions": {}, "scope": {}, "hit_count": 123, "last_hit_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
API key for authentication. Generate one in Mission Control Settings > Security & Identity.
1 - 255
Was this page helpful?