Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General Information

...

ServiceAPIMethod
urac/admin/listUsersGET


Data Model: Users

Workflow: List Users Flow

Input

...

NameSourceMandatoryTypeSpecial FormatDescription
tIdBody or QueryNOStringN/AIf 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
languagejs
titleValid Response Sample
{
	"result": true,
	"data": [{
			"..."
		},
		// ...
	]
}

...


Invalid Response

Code Block
languagejs
titleError Response Sample
{
    "result":false,
    "errors":{
        "codes":[406400],
        "details":[
            {
                "code":406400,
                "message":"InvalidDatabase or token has expired.connection error"
            }
        ]
    }
}



Error Codes



 

Code
Description
406Invalid or token has expired.
400Database connection error


Example (CURL)

...

Request

Code Block
languagebash
titleCalling List Users API
 > CURL -X GET http://127.0.0.1:4000/urac/admin/listUsers?tId=5551aca9e179c39b760f7a1a

...