Update an action policy API key
- Base URL
-
https://{kibana_url}
- POST /api/alerting/v2/action_policies/{id}/_update_api_key
Rotate the API key for an action policy.
Required authorization
- Privileges manage_alerting-v2-action-policies
Responses
204
The API key of the action policy was updated successfully.
Indicates the request failed schema validation.
Indicates the request was not authenticated.
Indicates the user does not have the required privileges to perform the request.
Indicates an action policy with the given ID does not exist.
Indicates the action policy was concurrently updated by another caller.
Indicates an unexpected server-side error.
Indicates the alerting engine is disabled by the alerting:v2:enabled advanced setting.