List enrollment API keys
deprecated
Server:
https://{kibana_url}
- GET /api/fleet/enrollment-api-keys
- GET /s/{space_id}/api/fleet/enrollment-api-keys
Refer to Spaces for more information.
Responses
OK
-
itemsobjectrequired -
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.
-
listobjectdeprecated -
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.
-
pagenumberrequired -
perPagenumberrequired -
totalnumberrequired
Generic Error
-
errorstring -
messagestring -
statusCodenumber