Retrieve information for a specific zone.
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" "Content-Type" = "application/json" } $url = "https://console.automox.com/api/accounts/{accountId}/zones/{zoneId}" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
{- "summary": "Zone example",
- "description": "Example of a zone object with complete zone information including creator details and organizational hierarchy",
- "value": {
- "id": "00000000-0000-0000-0000-000000000001",
- "organization_id": 123456,
- "account_id": "00000000-0000-0000-0000-000000000002",
- "parent_id": "00000000-0000-0000-0000-000000000003",
- "name": "Anonymized Zone",
- "created_by": {
- "id": "00000000-0000-0000-0000-000000000004",
- "user_id": 12345,
- "email": "user@example.com",
- "first_name": "FirstName",
- "last_name": "LastName",
- "status": "active",
- "account_rbac_role": "global-admin",
- "is_verified": true,
- "two_factor_authentication": "email",
- "created_at": "2023-03-07T17:11:17+0000"
}, - "access_key": "00000000-0000-0000-0000-000000000005",
- "created_at": "2024-04-03T16:19:36+0000",
- "updated_at": "2024-04-03T16:19:36+0000",
- "tier": "tier3"
}
}