Reseller Get User by ID API
POST /resellerGetUserById
Description
This API endpoint retrieves detailed information about a user associated with a reseller using their user ID.
Request Body
The request uses GraphQL to perform the resellerGetUserById
query, which requires an id
variable to specify the user's ID.
Query:
query resellerGetUserById ($id: Int) {
resellerGetUserById (id: $id) {
id
email
username
resellerId
role
enabled
radAccess
radAccessClear
createdAt
updatedAt
}
}
GraphQL Variables:
{
"id": 0
}
Example Request:
curl --location '' \
--header 'Content-Type: application/json' \
--data '{"query":"query resellerGetUserById ($id: Int) {\n resellerGetUserById (id: $id) {\n id\n email\n username\n resellerId\n role\n enabled\n radAccess\n radAccessClear\n createdAt\n updatedAt\n }\n}","variables":{"id":1}}'