Update the API key of rules in bulk by ID
- Base URL
-
https://{kibana_url}
- POST /api/alerting/v2/rules/_bulk_update_api_key
- POST /s/{space_id}/api/alerting/v2/rules/_bulk_update_api_key
Refer to Spaces for more information.
Rotates each rule executor task API key to one derived from the current user’s credentials.
Required authorization
- Privileges manage_alerting-v2-rules
Responses
Returns the result of the bulk update API key operation.
Indicates an invalid schema or parameters.
Indicates the request was not authenticated.
Indicates the user does not have the required privileges to perform the request.
Indicates an unexpected server-side error.
Indicates the alerting engine is disabled by the alerting:v2:enabled advanced setting.