Update the API key for a rule

Server: https://{kibana_url}
  • POST /api/alerting/rule/{id}/_update_api_key
  • POST /s/{space_id}/api/alerting/rule/{id}/_update_api_key

Refer to Spaces for more information.

Path Parameters

id string required

The identifier for the rule.

Responses

204

Indicates a successful call.

400

Indicates an invalid schema or parameters.

403

Indicates that this call is forbidden.

404

Indicates a rule with the given ID does not exist.

409

Indicates that the rule has already been updated by another user.