Skip to main content

Update user by id

Update user by id

Path Parameters
uid int64 REQUIRED
Request Body REQUIRED
email string
password string
name string

Possible values: length ≤ 32

gender int32
is_admin boolean
language language
status string

Possible values: [normal, frozen]

webhook_url string
Responses
200
Schema OPTIONAL
uid int64

User id

email string OPTIONAL
password string
name string
gender int32
is_admin boolean
language language
create_by string
in_online boolean
online_devices object[]
device string
device_token string OPTIONAL
is_online boolean
created_at timestamp
updated_at timestamp
avatar_updated_at timestamp
status string

Possible values: [normal, frozen]

webhook_url string OPTIONAL
is_bot boolean
406

Invalid webhook url

409

User conflict

Schema OPTIONAL
reason string

Possible values: [name_conflict, email_conflict]