Skip to main content
PUT
Edit a user (Admin only)

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

userId
string
required

The user ID to edit

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
email
string<email>
fname
string
lname
string
status
string

active, inactive or trialing; 'deleted' deletes the user

plan
string

sdk places the account on institution; any other plan (free, entry, premium, pro, monthly) clears its current twin

credits
integer
accountType
string

user, admin or super

institution
string

Digital twin _id; applied only together with plan 'sdk'

password
string
mustChangePassword
boolean
mfaEnabled
boolean

Response

User updated