Delete an agent Base URL https://{kibana_url} DELETE /api/fleet/agents/{agentId} Auth Requires fleet-agents-all privileges Path 1 parameter Headers 1 parameter Responses 3 responses Path Headers Responses Expand all Delete an agent by ID. Expand all Path parameters agentId string required The agent ID Header parameters kbn-xsrf string required A required header to protect against CSRF attacks Responses 200 Successful response application/json action enum required Values: deleted 400 Bad Request application/json attributes object required error string errorType string message string required statusCode number 404 Not Found application/json