Delete an agent policy
Spaces method and path for this operation:
post /s/{space_id}/api/fleet/agent_policies/delete
Refer to Spaces for more information.
Delete an agent policy by ID.
[Required authorization] Route required privileges: fleet-agent-policies-all.
POST
/api/fleet/agent_policies/delete
curl \
--request POST 'http://localhost:5601/api/fleet/agent_policies/delete' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"agentPolicyId":"string","force":true}'