Delete an agent policy
Server:
https://{kibana_url}
- POST /api/fleet/agent_policies/delete
Delete an agent policy by ID.
[Required authorization] Route required privileges: fleet-agent-policies-all.
Request
-
agentPolicyIdstringrequired -
The ID of the agent policy
-
forceboolean -
bypass validation checks that can prevent agent policy deletion
Responses
Bad Request
-
attributesobjectrequired -
errorstring -
errorTypestring -
messagestringrequired -
statusCodenumber