Retrieve information for a specific user.
OK
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}/users/{userId}" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
{- "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"
}