General Information
...
Service | API | Method |
---|---|---|
urac | /admin/all | GET |
Workflow: Get All Flow
Input
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
N/A | N/A | N/A | N/A | N/A | This api does not need any parameters; it fetches both the users and groups of all the tenants. |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": { "users":[{"..."}], "groups":[{"..."}] } } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result":false, "errors":{ "codes":[405], "details":[ { "code":405, "message":"Unable to find User. Please try again." } ] } } |
Error Codes
Code | Description |
---|---|
405 | Unable to find User. Please try again. |
415 | Unable to find group. |
Example (CURL)
...
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X GET http://127.0.0.1:4000/urac/admin/all |
...