#
Getting users
#
Getting users
Admin only
Paginated
To get users of the current realm, use the following endpoint:
GET /api/user
On success the response will be the default paginated API response with the data being a data array of users.
The user entities will be in the following format:
[
{
"userID": "string",
"pairwiseID": "string",
"email": "string",
"locked": true,
"creationTime": "2023-12-15T18:48:28.775Z",
"realmID": "string",
"profileOverride": 0,
"maxProfiles": 0,
"profileCount": 0,
"blacklisted": false,
"blacklistDate": null,
"lockDate": null
}
]
The search
parameter for this paginated endpoint is a string that will be used to search for users with a pairwiseID
that contains the search string.
The following keys are supported for the sort
parameter:
The following keys are supported for the filter
parameter:
#
Getting a specific user
To get a specific user of the current realm, use the following endpoint:
GET /api/user/{userID}
With {userID}
being the ID of the user to get.
On success the response will be the default API response with the data being a user entity in the following format:
{
"userID": "string",
"pairwiseID": "string",
"email": "string",
"locked": true,
"creationTime": "2023-12-15T18:48:28.775Z",
"realmID": "string",
"profileOverride": 0,
"maxProfiles": 0,
"profileCount": 0,
"blacklisted": false,
"blacklistDate": null,
"lockDate": null
}