Get enrollment API key by ID
deprecated
Server:
https://{kibana_url}
- GET /api/fleet/enrollment-api-keys/{keyId}
- GET /s/{space_id}/api/fleet/enrollment-api-keys/{keyId}
Refer to Spaces for more information.
Responses
OK
-
itemrequired -
activebooleanrequired -
When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents.
-
api_keystringrequired -
The enrollment API key (token) used for enrolling Elastic Agents.
-
api_key_idstringrequired -
The ID of the API key in the Security API.
-
created_atstringrequired -
idstringrequired -
namestring -
The name of the enrollment API key.
-
policy_idstring -
The ID of the agent policy the Elastic Agent will be enrolled in.
Generic Error
-
errorstring -
messagestring -
statusCodenumber