Update alias
POST
/v1/alias/updateAt least one parameter to be modified must be provided; do not include parameters that do not require changes in the request.
请求参数
Body Params multipart/form-data
token
string
required
Token generated by the management backend.
Example:
{{token}}
alias_id
string
required
Rule ID (can be obtained from the GetMX management backend or through the /v1/alias/list endpoint; the 'id' field is the 'alias_id').
Example:
12345678
status
integer
optional
Status, -1 for disabled, 1 for enabled
Example:
-1
mark
string
optional
mark
Example:
mark
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
msg
string
required
data
null
required
Example
{
"code": 0,
"msg": "string",
"data": null
}
Last modified: 6 个月前