update account
POST
/api/account/updateRequest
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
}
}
Request samples
Responses
result(200)
HTTP Code: 200
Content Type : 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
}
Last modified: 2 年前