PUT
/
v1
/
app
/
user
/
{userId}
{
  "id": "<string>",
  "org_id": "<string>",
  "account_id": "<string>",
  "profile_picture": "<string>",
  "name": "<string>",
  "email": "<string>",
  "job_position_name": "<string>",
  "job_position_description": "<string>",
  "state": "Active",
  "roles": [
    "AppGuest"
  ],
  "created_at": "<string>"
}

Path Parameters

userId
string
required

The ID of the user to update

Body

application/json

Updated user information. Supports both JSON and multipart/form-data for profile picture uploads

name
string
role
enum<string>
Available options:
AppGuest,
AppMember,
AppAdmin,
AppOwner,
SuperAdmin,
AccountOwner
profile_picture_file_name
string
profile_picture_content_type
string
profile_picture_content_length
number
profile_picture
string

Response

200 - application/json

Returns the updated user details

id
string
required
org_id
string
required
account_id
string
required
name
string
required
email
string
required
state
enum<string>
required
Available options:
Active,
Inactive
roles
enum<string>[]
required
created_at
string
required
profile_picture
string
job_position_name
string
job_position_description
string