General Information
...
Service | API | Method |
---|---|---|
urac | /admin/listUsers | GET |
Data Model: Users
Workflow: List Users Flow
Input
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
tId | Body or Query | NO | String | N/A | If set, the api will return the users of a specific tenant; else the api returns all the users in the database |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": [{ "..." }, // ... ] } |
...
Invalid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result":false, "errors":{ "codes":[406400], "details":[ { "code":406400, "message":"InvalidDatabase or token has expired.connection error" } ] } } |
Error Codes
Code | Description |
---|
400 | Database connection error |
Example (CURL)
...
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X GET http://127.0.0.1:4000/urac/admin/listUsers?tId=5551aca9e179c39b760f7a1a |
...