Create an enrollment API key
- Base URL
-
https://{kibana_url}
- POST /api/fleet/enrollment_api_keys
Create an enrollment API key for a given agent policy.
Required authorization
- Privileges fleet-agents-all
Responses
Successful response
https://{kibana_url}
Create an enrollment API key for a given agent policy.
Authorization: <value>
These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: Authorization: ApiKey base64AccessApiKey
Authorization: Basic <credentials>
Successful response
https://{kibana_url}