Update the API key for a rule
The new API key has the credentials of the user that submits the request.
Path parameters
-
An identifier for the rule.
POST /api/alerting/rule/{ruleId}/_update_api_key
curl \
-X POST https://localhost:5601/api/alerting/rule/ac4e6b90-6be7-11eb-ba0d-9b1c1f912d74/_update_api_key \
-H "kbn-xsrf: string"
Response examples (400)
{
"error": "Bad Request",
"message": "string",
"statusCode": 400
}