cURL
curl --request DELETE \ --url https://api.phare.io/alert-rules/{alertRuleId} \ --header 'Authorization: Bearer <token>'
{ "message": "Unauthorized" }
Delete an alert rule by ID
Use a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer '.
ID of the alert rule to delete
Success, alert rule deleted
Was this page helpful?