Versions Compared

Key

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

General Information

...

ServiceAPIMethod
urac/admin/users/countGET

...

tId
NameSourceMandatoryTypeSpecial FormatDescriptionQueryNOStringN/AIf set, the api will return the users' count of a specific tenant; else the api returns all the users' count in the database


Output

...

Valid Response

Code Block
languagejs
titleValid Response Sample
{
	"result": true,
	"data": {
		"count": 12
	}
}

...

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

Response

Code Block
languagejs
titleList Users API response
{
	"result": true,
	"data": {
		"count": 12
	}
}

...