Elastic Agents

Delete an agent

Spaces method and path for this operation:

<div><span class="operation-verb delete">delete</span>&nbsp;<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

action'deleted' required

Changes

No changes recorded. 20 of the 176 revisions have no diff computed, so they could not be searched.