Download an agent policy
Spaces method and path for this operation:
get /s/{space_id}/api/fleet/agent_policies/{agentPolicyId}/download
Refer to Spaces for more information.
Download an agent policy by ID.
[Required authorization] Route required privileges: fleet-agent-policies-read AND fleet-setup.
GET
/api/fleet/agent_policies/{agentPolicyId}/download
curl \
--request GET 'https://localhost:5601/api/fleet/agent_policies/{agentPolicyId}/download' \
--header "Authorization: $API_KEY"