Reseller Get User by ID API
Retrieve user details by user ID within reseller organization
Reseller
Reseller Get User by ID API
Retrieve detailed user information using the user's unique ID. Access complete profile, role, and access settings.
ID Lookup
Find by user ID.
User Profile
Complete details.
Access Settings
RADIUS config.
Endpoint Overview
QUERY
/graphqlRetrieve user details by user ID within reseller's organization.
Authentication:Bearer Token
Required scopes:reseller
Request Parameters
idInt!RequiredThe unique user ID to retrieve.
GraphQL Query
query resellerGetUserById($id: Int!) {
resellerGetUserById(id: $id) {
id
email
username
resellerId
role
enabled
radAccess
radAccessClear
createdAt
updatedAt
}
}Variables:
{
"id": 1
}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query resellerGetUserById($id: Int!) { resellerGetUserById(id: $id) { id email username role enabled createdAt } }",
"variables": { "id": 1 }
}'Response
200User Retrieved Successfully
{
"data": {
"resellerGetUserById": {
"id": 1,
"email": "user@example.com",
"username": "username123",
"resellerId": 45,
"role": "user",
"enabled": true,
"radAccess": true,
"radAccessClear": false,
"createdAt": "2023-01-01T12:00:00Z",
"updatedAt": "2024-01-01T12:00:00Z"
}
}
}Response Fields
idInt!Unique identifier for the user.
emailString!User's email address.
usernameString!User's username.
resellerIdInt!ID of the reseller this user belongs to.
roleString!User's role.
enabledBoolean!Whether the user account is enabled.
radAccessBoolean!Whether RADIUS access is enabled.
createdAtDateTime!Account creation timestamp.
Related Endpoints
Edit User
Update user details after looking them up.