OS1 Services
User Management Service

How To: Create a User

1min
for information about prerequisites, see user management service docid\ ygnw34arj xzfuku ypbe to create your first user, call the create a user docid\ bls1figrobdjhj7dseqrq endpoint and pass a request similar to the following { "firstname" "john", "middlename" "m", "lastname" "doe", "email" "john doe\@example com", "designation" "field executive", "category" "regular", "employmenttype" "full time", "worklocations" \[ "facilities 1238 232 dsfs23 sdsdc" ], "manager" "string", "primarymobile" { "countrycode" "+1", "number" "5551234567" }, "secondarymobile" { "countrycode" "+1", "number" "5559874567" }, "identification" { "idtype" "driving license", "valididnumber" "abcde12345" }, "subfunction" "fe", "fileid" "file 1238 232 dsfs23 sdsdc" } when creating subsequent users, you can use the userownerid to specify non tenant users as the owner of the user this allows you to create a hierarchy of users within your organization to retrieve a list of all of the users in your tenant associated with your app, call the get all users deprecated it will reach eol on sept 30, 2023 docid\ npdwoofbq5v8anaqvzvkc