List users that are assigned to a zone.

List users that are assigned to the zone.

SecuritybearerAuth
Request
path Parameters
accountId
required
string <uuid>

Account ID to retrieve users for.

zoneId
required
string <uuid>

ID for the specified zone

query Parameters
page
integer <int64>
Default: 0

The page of results you wish to be returned with page numbers starting at 0.

limit
integer <int64>
Default: 500

A limit on the number of results to be returned, between 1 and 500, with a default of 25. Use with page parameter.

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}/users
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}/users" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
Response samples
application/json
{
  • "data": [
    • {
      • "id": 50687,
      • "uuid": "56e207a9-3b3e-48f1-b738-4172f11f70fd",
      • "email": "gzmtest@automox.com",
      • "first_name": "GZM",
      • "last_name": "TestAccount",
      • "status": "active",
      • "account_rbac_role": "global-admin",
      • "is_verified": false,
      • "two_factor_authentication": "email",
      • "created_at": "2021-10-20T16:03:25+0000",
      • "zone_rbac_role": "zone-admin"
      }
    ]
}