GET
/api/fleet/package_policies
curl \
--request GET https://localhost:5601/api/fleet/package_policies \
--header "Authorization: $API_KEY"
Response examples (200)
{
"items": [
{
"id": "string",
"inputs": [],
"revision": 42.0,
"description": "string",
"enabled": true,
"name": "string",
"namespace": "string",
"output_id": "string",
"overrides": {},
"package": {
"name": "string",
"requires_root": true,
"title": "string",
"version": "string"
},
"policy_id": "string",
"policy_ids": [
"string"
]
}
],
"page": 42.0,
"perPage": 42.0,
"total": 42.0
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}