Download an agent policy

Server: https://{kibana_url}
  • GET /api/fleet/agent_policies/{agentPolicyId}/download
  • 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 OR fleet-setup.

Path Parameters

agentPolicyId string required

The ID of the agent policy

Responses