Manage Alerting
Delete a specific check rule (Prometheus alert rule) by origin or id
delete
/api/alerting/check-rules/{originOrId}Parameters 2
originOrIdpathrequiredCheck rule origin or id
string
datasetqueryReferences Dataset
Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
stringpattern
"^[a-zA-Z0-9_-]{3,26}$"bash
Sample request12curl --request DELETE 'https://api.eu-west-1.aws.dash0.com/api/alerting/check-rules/123e4567-e89b-42d3-a456-426614174000' \--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"
Responses
Successful response in case the check rule was deleted