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

Base URL
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.

Responses

Base URL
https://{kibana_url}