Disable a rule

Base URL
https://{kibana_url}
  • POST /api/alerting/rule/{id}/_disable
  • POST /s/{space_id}/api/alerting/rule/{id}/_disable
Auth

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

id string required

The identifier for the rule.

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

untrack boolean

Defines whether this rule's alerts should be untracked.

Responses

204

Indicates a successful call.

400

Indicates an invalid schema.

403

Indicates that this call is forbidden.

404

Indicates a rule with the given ID does not exist.

Base URL
https://{kibana_url}