Fleet enrollment API keys
Create an enrollment API key
Changed onSpaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/enrollment_api_keys</span></div>Refer to Spaces for more information.
Create an enrollment API key for a given agent policy.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
post/api/fleet/enrollment_api_keys
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/enrollment_api_keys
- Auth
- API key in header Authorization
- or HTTP basic
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response
Changes
- warning
the
request property's maxLength was set to20 - info
added the optional property
/to the response with the status
- warning