Fleet service tokens

Create a service token

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/service_tokens</span></div>

Refer to Spaces for more information.

Create a Fleet Server service token. The token is used to enroll Fleet Server instances with Kibana.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.

post/api/fleet/service_tokens

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

remoteboolean

Response

Successful response

namestring required
valuestring required

Changes

No recorded changes to this endpoint across all 102 revisions of this API.