Headers
-
elastic-api-version
string The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
. -
kbn-xsrf
string Required A required header to protect against CSRF attacks
Path parameters
-
id
string Required The identifier for the rule.
POST
/api/alerting/rule/{id}/_disable
curl \
--request POST https://localhost:5601/api/alerting/rule/{id}/_disable \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json; Elastic-Api-Version=2023-10-31" \
--header "elastic-api-version: 2023-10-31" \
--header "kbn-xsrf: true"
Request examples
# Headers
elastic-api-version: 2023-10-31
kbn-xsrf: true
# Payload
{
"untrack": true
}