Create New User in an Organization
POST https://{server_address}/api/v1/organization/users/create-in-org
This endpoint will create a new user as a member of the provided organization.
Headers
Authorization*
Bearer {access_token}
Content-Type*
application/json
Request Body
passwordHash*
tk++TTJLCEKfWuhQyGAKCSRMop6wyIexGKylaknsUo8=
String. New user's password. See user password creation notes.
name*
John Doe
String. New user's name. May contain up to 50 symbols. Only letters, hyphens, spaces, dots and apostrophes are allowed.
orgId*
1
Integer. New user's organization identifier.
roleId*
1
Integer. New user's role identifier.
title
String
String. New user's title. May contain up to 50 symbols. Only letters, hyphens and spaces are allowed.
nickName
String
String. New user's nickname. May contain up to 50 symbols. Only letters, digits, hyphens and spaces are allowed.
phoneNumber
+3801234567
String. New user's phone number. Should be prefixed with +.
tz
Europe/Kiev
String. New user's timezone.
address
New user's address.
address.fullAddress
String
New user's full address. Should be up to 512 symbols.
address.city
String
New user's city. Should be up to 50 symbols.
address.country
String
New user's country. Should be up to 74 symbols.
address.state
String
New user's state. Should be up to 40 symbols.
address.zip
String
New user's zip code. Should be up to 12 symbols.
Request examples:
Last updated
Was this helpful?

