Download an agent policy
- Base URL
-
https://{kibana_url}
- GET /api/fleet/agent_policies/{agentPolicyId}/download
Requires
fleet-agent-policies-read
or
fleet-setup
Download an agent policy by ID.
Responses
Successful response — returns the agent policy as a YAML file download
Response Type: string
Bad Request