Revoke an enrollment API key Beta
Revoke an enrollment API key by ID by marking it as inactive.
DELETE
/api/fleet/enrollment_api_keys/{keyId}
curl \
-X DELETE https://<KIBANA_URL>/api/fleet/enrollment_api_keys/{keyId} \
-H "kbn-xsrf: true"
Response examples (200)
{
"action": "deleted"
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}