Skip to main content
POST
Update User in Workspace

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

user
integer
required

ID of the user.

Body

multipart/form-data

User update payload (multipart/form-data).

name
string
required

Must pass 'valid_name'.

Maximum string length: 50
email
string<email>
required

Must be unique.

timezone
string
required

Must be a valid timezone.

status
boolean
required
avatar
file | null

Image file (≤ 1MB).

password
string

Optional. If provided, will update password.

Required string length: 6 - 255
confirm_password
string

Must match password if password is provided.

client
boolean

Required for partner workspace.

Response

status
integer
required
Example:

200

message
string
required
Example:

"Resource updated successfully."

data
object
required

Updated resource data.