Skip to main content
PUT
Update user

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

userId
string
required

The identifier for the user that generated by system. Example: 621dd813eb3ebf16b94d6969

Body

application/json
name
string
required

The name of user. Example: Jhon doe

email
string

The email of user. Example: example@mile.app

phoneNumber
string

The phone number of user. Example: +628123456789

hubId
string[]

The hub id of user. Example: ['621dd813eb3ebf16b94d6969','621dd813eb3ebf16b94d6968']

teamId
string[]

The team id of user. If you set empty array, it will assigned to all team. Example: ['621dd813eb3ebf16b94d6969','621dd813eb3ebf16b94d6968']

Response

OK

The response is of type object.