Download agent policy by ID

GET /api/fleet/agent_policies/{agentPolicyId}/download

Spaces method and path for this operation:

get /s/{space_id}/api/fleet/agent_policies/{agentPolicyId}/download

Refer to Spaces for more information.

Path parameters

  • agentPolicyId string Required

Query parameters

  • download string
  • standalone string
  • kubernetes string

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • item string
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
GET /api/fleet/agent_policies/{agentPolicyId}/download
curl \
 --request GET 'http://localhost:5601/api/fleet/agent_policies/{agentPolicyId}/download' \
 --header "Authorization: $API_KEY"