alerting-v2
Disable a rule
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/alerting/v2/rules/{id}/_disable</span></div>Refer to Spaces for more information.
Disable a rule by identifier.<br/><br/>[Required authorization] Route required privileges: manage_alerting-v2-rules.
post/api/alerting/v2/rules/{id}/_disable
Path parameters
idstring required
The identifier for the rule.
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Response
Returns the disabled rule.