更新用户
PATCH
/api/v1/system-manage/users/{user_id}请求参数
Path 参数
user_id
integer
必需
Body 参数application/json
userName
string
Username
password
Password
Any of
userEmail
string <email>
Useremail
userGender
可选
Any of
枚举值:
123
默认值:
1
nickName
Nickname
Any of
userPhone
Userphone
Any of
userRoles
Userroles
Any of
status
可选
Any of
枚举值:
12
默认值:
1
示例
{
"userName": "string",
"password": "string",
"userEmail": "user@example.com",
"userGender": "1",
"nickName": "string",
"userPhone": "string",
"userRoles": [
"string"
],
"status": "1"
}
示例代码
返回响应
成功(200)
Validation Error(422)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
object
必需
updated_id
integer
必需
示例
{
"code": "0000",
"msg": "Updated Successfully",
"data": {
"updated_id": 4
}
}
最后修改时间: 9 个月前