Update user information

Basic Information

请求路径

  1. PUT /openapi/v1/users/{user_id}

Body请求参数

  1. {
  2. "password": "stringst",
  3. "enterprise_id": "string",
  4. "email": "user@example.com",
  5. "phone": "string",
  6. "is_active": true
  7. }

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

  1. {
  2. "password": "stringst",
  3. "enterprise_id": "string",
  4. "email": "user@example.com",
  5. "phone": "string",
  6. "is_active": true
  7. }