Retrieve information for a specific zone.

Retrieve information for a specific zone.

SecuritybearerAuth
Request
path Parameters
accountId
required
string <uuid>

Account ID for the specified account

zoneId
required
string <uuid>

ID for the specified zone

Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

get/accounts/{accountId}/zones/{zoneId}
Request samples
$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
Response samples
application/json
{
  • "id": "2e9a5cab-31af-402e-87b7-a691371d42d0",
  • "organization_id": 845230,
  • "account_id": "c8e7dd4e-569d-4280-90f8-706fc944baf8",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
  • "name": "My New Zone",
  • "created_by": {
    • "id": "03703083-591e-43cb-b02f-716520a8705e",
    • "user_id": 2506247,
    • "email": "somebody@example.com",
    • "first_name": "John",
    • "last_name": "Doe",
    • "status": "pending-invite",
    • "account_rbac_role": "global-admin",
    • "is_verified": true,
    • "two_factor_authentication": "email",
    • "created_at": "2021-10-20T16:03:25+0000"
    },
  • "access_key": "e763151d-9cdb-410b-99ff-d812b8f4723c",
  • "created_at": "2021-10-20T16:03:25+0000",
  • "updated_at": "2021-10-20T16:03:25+0000"
}