Fleets
Get a Policy
Retrieve a specific policy of a fleet.
get/v1/fleet/{fleet_name}/policies/{policy_name}
Request
- Base URL: https://api.edgegap.com
- URL: https://api.edgegap.com/v1/fleet/{fleet_name}/policies/{policy_name}
- Auth: API key in header authorization
Path parameters
fleet_namestring required
The name of the fleet
policy_namestring required
The name of the policy
Response
Success
Example response
{
"name": "policy_name",
"enabled": true,
"type": "Location",
"minimum": 1,
"maximum": 1,
"data": {
"filters": [
{
"field": "city",
"values": [
"Montreal"
],
"filter_type": "any"
}
]
},
"create_time": "2022-01-01 00:00:00.000000",
"last_updated": "2022-01-01 00:00:00.000000"
}Changes
No recorded changes to this operation across all 1 revision of this API.