Update the API key for a rule
Spaces method and path for this operation:
post /s/{space_id}/api/alerting/rule/{id}/_update_api_key
Refer to Spaces for more information.
POST
/api/alerting/rule/{id}/_update_api_key
curl \
--request POST 'http://localhost:5601/api/alerting/rule/{id}/_update_api_key' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: true"