Skip to main content

Update user information

Basic Information

请求路径
PUT /openapi/v1/users/{user_id}
Body请求参数
{
"password": "stringst",
"enterprise_id": "string",
"email": "user@example.com",
"phone": "string",
"is_active": true
}

request parameters

nameLocationtyperequiredillustrate
user_idpathstringYesnone
bodybodyUpdateUsernonone

return result

status codeStatus code meaningillustratedata model
200OKsuccessUpdateUser

Model

UpdateUser

nametyperequiredconstraintChinese nameillustrate
passwordstringfalsenonePasswordpassword
enterprise_idstringfalsenoneEnterprise identerprise_id
emailstring(email)falsenoneEmailemail address
phonestringfalsenonePhonecellphone number
is_activeboolean¦nullfalsenoneIs activeactive state

Attributes

{
"password": "stringst",
"enterprise_id": "string",
"email": "user@example.com",
"phone": "string",
"is_active": true
}