Update the API key of rules matching a query (dry-run by default)

Server: https://{kibana_url}
  • POST /api/alerting/v2/rules/_update_api_key_by_query
  • POST /s/{space_id}/api/alerting/v2/rules/_update_api_key_by_query

Refer to Spaces for more information.

Rotates each matching rule executor task API key to one derived from the current user’s credentials.

[Required authorization] Route required privileges: manage_alerting-v2-rules.

Responses