Elastic Agent actions
Unenroll an agent
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/{agentId}/unenroll</span></div>Refer to Spaces for more information.
Unenroll a specific agent, optionally revoking its enrollment API key.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
post/api/fleet/agents/{agentId}/unenroll
Path parameters
agentIdstring required
The agent ID
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response