Versions Compared

Key

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

General Information

...

NameSourceMandatoryTypeSpecial FormatDescription
tIdBody or QueryYESStringN/Athe Id of the tenant where this user is added
tCodeBody or QueryYESStringN/Athe code of the tenant
usernameBodyYESStringalphanumeric with _ , - characters only 
firstNameBodyYESStringN/A 
lastNameBodyYESStringN/A 
emailBodyYESStringN/A 
profileBodyNOStringN/Aa stringified object.
groupsBodyNOArrayN/Aarray of group code values

 

Output

...

Valid Response

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

...

Code Block
languagebash
titleCalling YOUR Add User API
 > CURL -X POST http://127.0.0.1:4000/urac/admin/addUser?tId=5551aca9e179c39b760f7a1a&tCode=DBTN -d 'username=john&firstName=John&lastName=Doe&email=johndoe@domain.com'

...

Code Block
languagejs
titleYOUR Add User API response
{
	"result": true,
	"data": "719b0aed-edd8-47d5-ada0-9e5f93cb8247"
}