Create a service token
- Base URL
-
https://{kibana_url}
- POST /api/fleet/service_tokens
Create a Fleet Server service token. The token is used to enroll Fleet Server instances with Kibana.
Required authorization
- Privileges fleet-agents-all
https://{kibana_url}
Create a Fleet Server service token. The token is used to enroll Fleet Server instances with Kibana.
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>
https://{kibana_url}