{
"username": "newusername",
"role": "SUPER_ADMIN"
}curl --location --request PATCH '/users/' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "newusername",
"role": "SUPER_ADMIN"
}'{
"code": 200,
"message": "更新用户信息成功",
"data": {
"id": 2,
"username": "newusername",
"email": "user@example.com",
"role": "ADMIN",
"enterpriseId": 1,
"lastLoginTime": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"settings": {
"theme": "dark",
"language": "zh-CN"
},
"ossState": true
}
}