Skip to main content
PUT
Update member

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

userId
string
required

The identifier of the member. Example: 621dd813eb3ebf16b94d6969

Body

application/json
name
string

Member name. Example: Rina Putri

Required string length: 4 - 30
hubId
string[]

Hub IDs the member belongs to. At least one, no duplicates. Example: ["64d9932e2beb9037735ff022"]

Minimum array length: 1
teamId
string[]

Team IDs, no duplicates. Example: ["650138dee2683e0e7c6b0ed2"]

roleId
string

Role ID from your organization. Example: 6449f8ef2c481b07d40ecfc5

phoneNumber
string

Phone number as + . Send null to clear it. Example: +62 81234567890

Required string length: 10 - 16
language
enum<string>

Member's app language. Example: en

Available options:
en,
id,
jp,
zh,
vi,
th,
tl,
ko
status
enum<string>

Account status. Example: active

Available options:
active,
disable
password
string

New password for the member. Setting it signs the member out of every session.

Response

Success

status
boolean

Status of response.

data
object

Updated member.