List All Users With Access to a Given Organization

Retrieves a list of all users with access to an organization

Request
Security:
query Parameters
o
required
integer

The Organization whose users you wish to list. If you omit this value, the application will detect and use your default Organization.

page
integer
Default: 0

The page of results you wish to be returned with page numbers starting at 0. See About Automox API - Pagination

limit
integer [ 1 .. 500 ]
Default: 500

A limit on the number of results to be returned, between 1 and 500 with a default of 500. Use with page parameter. See About Automox API - Pagination

Responses
200

Successful

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/users
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{
    "Authorization" = "Bearer $apiKey"
}

$url = "https://console.automox.com/api/users?o=0000"

Invoke-WebRequest -Method Get -Uri $url -Headers $headers
Response samples
application/json
[
  • {
    • "id": 0,
    • "firstname": "string",
    • "lastname": "string",
    • "email": "string",
    • "features": {
      • "mo": true
      },
    • "prefs": [
      • {
        • "user_id": 0,
        • "pref_name": "string",
        • "value": "string"
        }
      ],
    • "orgs": [
      • {
        • "id": 0,
        • "name": "string",
        • "access_key": "string",
        • "trial_end_time": "2019-08-24T14:15:22Z",
        • "trial_expired": true
        }
      ],
    • "tags": [
      • "string"
      ],
    • "saml_enabled": true,
    • "rbac_roles": [
      • {
        • "id": 0,
        • "name": "string",
        • "organization_id": 0
        }
      ]
    }
]