Policy Information

Retrieve the policy information for a given policy UUID

SecuritybearerAuth
Request
path Parameters
policy_uuid
required
string <uuid>

Policy UUID

Examples:
56c0ba07-69f2-4f7c-b0a1-2bb0ed68578e
query Parameters
org
required
string <uuid>

Organization UUID

Examples:
org=56c0ba07-69f2-4f7c-b0a1-2bb0ed68578e
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Unauthorized Action

404

Not Found

408

Request Timeout

429

Rate Limit

500

Service Unavailable

get/policy-history/policies/{policy_uuid}
Request samples
$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
Response samples
application/json
{
  • "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"
}