Retrieve the policy information for a given policy UUID
OK
Bad Request
Unauthorized
Unauthorized Action
Not Found
Request Timeout
Rate Limit
Service Unavailable
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" "Content-Type" = "application/json" } $url = "/policy-history/policies/<your_policy_uuid_goes_here>?org=<your_organization_uuid_goes_here>" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
{- "id": 123456,
- "uuid": "56c0ba07-69f2-4f7c-b0a1-2bb0ed68578e",
- "org_uuid": "56c0ba07-69f2-4f7c-b0a1-2bb0ed68578e",
- "name": "Patch Tuesday",
- "type": "patch",
- "deleted_at": "2024-03-27T12:23:45Z",
- "updated_at": "2024-03-27T12:23:45Z",
- "last_run_time": "2024-03-27T12:23:45Z"
}