Elastic Agents
Delete an agent
Spaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/{agentId}</span></div>Refer to Spaces for more information.
Delete an agent by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
delete/api/fleet/agents/{agentId}
Path parameters
agentIdstring required
The agent ID
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Response
Successful response