Get information for a specific user.

Retrieve information for a specific user.

SecuritybearerAuth
Request
path Parameters
accountId
required
string <uuid>
Example: 123e4567-e89b-12d3-a456-426614174000
userId
required
string <uuid>
Example: 123e4567-e89b-12d3-a456-426614174000
Responses
200

OK

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}/users/{userId}
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{
    "Authorization" = "Bearer $apiKey"
    "Content-Type" = "application/json"
}
$url = "https://console.automox.com/api/accounts/{accountId}/users/{userId}"
$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
Response samples
application/json
{
  • "summary": "Account user example",
  • "description": "Example of a user associated with an account, including profile information and RBAC roles",
  • "value": {
    • "id": "ef519091-5a62-476d-add6-d40270f3ebed",
    • "user_id": 52316,
    • "email": "test.user@example.com",
    • "first_name": "Test",
    • "last_name": "User",
    • "status": "active",
    • "account_rbac_role": "global-admin",
    • "is_verified": true,
    • "two_factor_authentication": "email",
    • "created_at": "2021-12-06T22:43:37+0000"
    }
}