update account
POST
/api/account/update请求参数
Body Params application/json
filter
object
required
which account to update
id
array[integer]
required
accout id array, only support one element
update
object
required
required
password
string
optional
new password
tag
string
optional
new tag
traffic_limit_mb
integer
optional
new traffic limit
Example
{
"filter": {
"id": [
1
]
},
"update": {
"password": "newpassword",
"tag": "new tag",
"traffic_limit_mb": 200
}
}
示例代码
Responses
result(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
meta_message
string
required
success or other error msg
meta_status
integer
required
1 success, negative for error
Example
{
"meta_message": "string",
"meta_status": 0
}
Modified at 1 年前