更新用户
PUT
/core/v1/user
最后修改时间:2024-08-21 04:21:19
责任人:未设置
请求参数
Header 参数
Auth-Token
string
鉴权凭据,必须传
Body 参数application/json
name
string
必需
password
string
必需
source
string
必需
comment
string
必需
示例
{
"name": "chunshao",
"password": "123456789",
"source": "Polaris",
"comment": "just test"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://119.91.66.223:8090/core/v1/user' \
--header 'Auth-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "chunshao",
"password": "123456789",
"source": "Polaris",
"comment": "just test"
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
info
string
提示信息
示例
{
"code": 0,
"info": "string"
}
修改于 2024-08-21 04:21:19