Update email
POST
/v1/mail/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}}
mail_id
string
required
Mail ID (can be obtained from the GetMX management backend or through the /v1/mail/list endpoint; the 'id' field is the 'mail_id').
Example:
12345678
password
string
optional
Password, must be at least 8 characters in length; do not upload the password parameter if no change is intended
Example:
@1!2%345678
mark
string
optional
Remark, do not upload the mark parameter if no change is intended
Example:
mark
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
msg
string
required
data
object
required
Example
{
"code": 0,
"msg": "string",
"data": {}
}
Last modified: 6 个月前