Delete an agent policy Base URL https://{kibana_url} POST /api/fleet/agent_policies/delete Auth Delete an agent policy by ID. Required privileges Privileges fleet-agent-policies-all Headers Body Responses Expand all Header parameters kbn-xsrf string required A required header to protect against CSRF attacks Request body { } agentPolicyId string required The ID of the agent policy force boolean bypass validation checks that can prevent agent policy deletion Responses 200 Successful response application/json id string required name string required 400 Bad Request application/json attributes object required error string errorType string message string required statusCode number