Revoke an enrollment API key
Spaces method and path for this operation:
delete /s/{space_id}/api/fleet/enrollment_api_keys/{keyId}
Refer to Spaces for more information.
Revoke an enrollment API key by ID by marking it as inactive.
[Required authorization] Route required privileges: fleet-agents-all.
DELETE
/api/fleet/enrollment_api_keys/{keyId}
curl \
--request DELETE 'https://localhost:5601/api/fleet/enrollment_api_keys/{keyId}' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: true"