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
| name | Location | type | required | illustrate | 
|---|---|---|---|---|
| user_id | path | string | Yes | none | 
| body | body | UpdateUser | no | none | 
return result
| status code | Status code meaning | illustrate | data model | 
|---|---|---|---|
| 200 | OK | success | UpdateUser | 
Model
UpdateUser
| name | type | required | constraint | Chinese name | illustrate | 
|---|---|---|---|---|---|
| password | string | false | none | Password | password | 
| enterprise_id | string | false | none | Enterprise id | enterprise_id | 
| string(email) | false | none | email address | ||
| phone | string | false | none | Phone | cellphone number | 
| is_active | boolean¦null | false | none | Is active | active state | 
Attributes
{
  "password": "stringst",
  "enterprise_id": "string",
  "email": "user@example.com",
  "phone": "string",
  "is_active": true
}