Skip to main content
DELETE
/
alert-rules
/
{alertRuleId}
Delete an alert rule
curl --request DELETE \
  --url https://api.phare.io/alert-rules/{alertRuleId} \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Authorizations

Authorization
string
header
required

Use a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer '.

Headers

X-Phare-Project-Id
integer

A project header is required when using an organization-scoped API key.

Example:

1

X-Phare-Project-Slug
string

A project header is required when using an organization-scoped API key.

Example:

"luminous-guiding-tower"

Path Parameters

alertRuleId
integer
required

ID of the alert rule to delete

Response