Skip to main content
POST
Create a user, or add an existing account to a digital twin

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
email
string<email>
required
fname
string
required
lname
string
required
status
enum<string>
required
Available options:
active,
inactive
plan
enum<string>
required
Available options:
free,
sdk
accountType
enum<string>
required

super can be assigned by super admins only

Available options:
user,
admin,
super
password
string
required
institution
string
required
credits
integer
picture
string<uri>
remember_history_count
integer
mustChangePassword
boolean

Response

The email already belongs to an account. "User already exists" (nothing changed), or "User updated!" with ignoredFields listing the request fields that were not applied.

success
boolean
id
string
message
string
ignoredFields
string[]

On an existing account, the request fields that were not applied.