メインコンテンツまでスキップ

Delete Alert Rule

Deletes an existing alert rule by its ID. The current user should be a project admin.

DELETE
/v2/alertRules/{ALERT_RULE_ID}
Base URL

The base URL for this API is in the following format:

https://api.cloud.zilliz.com

📘Notes

The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.

export BASE_URL="https://api.cloud.zilliz.com"
Parameters
Authorizationstringheaderrequired

The authentication token should be an API key with appropriate privileges.

Example Value: Bearer {{TOKEN}}
ALERT_RULE_IDstringpathrequired

The ID of the alert rule to delete.

export TOKEN="YOUR_API_KEY"
export ALERT_RULE_ID="undefined"

curl --request DELETE \
--url "${BASE_URL}/v2/alertRules/${ALERT_RULE_ID}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json"
Responses200 - application/json

Returns an empty response.

codeinteger

Response code.

Returns an error message.

codeinteger

Response code.

messagestring

Error message.

{
"code": 0,
"data": {}
}