Reseller Get User API
Retrieve user details by ID within reseller organization
Reseller
Reseller Get User API
Retrieve detailed information about a specific user within your reseller organization. Access user credentials, roles, and access settings.
User Details
Complete profile.
Access Rights
Role and permissions.
RAD Access
RADIUS settings.
Endpoint Overview
QUERY
/graphqlRetrieve detailed user information by ID within reseller's organization.
Authentication:Bearer Token
Required scopes:reseller
Request Parameters
idInt!RequiredThe unique identifier of the user to retrieve.
GraphQL Query
query resellerGetUser($id: Int!) {
resellerGetUser(id: $id) {
id
email
username
resellerId
role
enabled
radAccess
radAccessClear
createdAt
updatedAt
}
}Variables:
{
"id": 123
}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query resellerGetUser($id: Int!) { resellerGetUser(id: $id) { id email username resellerId role enabled radAccess createdAt } }",
"variables": { "id": 123 }
}'Response
200User Retrieved Successfully
{
"data": {
"resellerGetUser": {
"id": 123,
"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"
}
}
}404User Not Found
{
"errors": [
{
"message": "User not found",
"path": ["resellerGetUser"],
"extensions": {
"code": "NOT_FOUND"
}
}
],
"data": null
}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 (e.g., user, admin).
enabledBoolean!Whether the user account is enabled.
radAccessBoolean!Whether RADIUS access is enabled.
radAccessClearBoolean!Whether RADIUS access uses cleartext.
createdAtDateTime!Account creation timestamp.
updatedAtDateTime!Last update timestamp.
Related Endpoints
List All Users
Retrieve a paginated list of all users in your organization.