Add Smtp Rule
POST
/v1/smtp-filter/create请求参数
Body Params multipart/form-data
token
string
required
Token generated by the management backend
Example:
{{token}}
domain_id
string
optional
Domain ID (can be obtained from the GetMX management backend or through the /v1/domain/list endpoint; the 'id' field is the 'domain_id')
Example:
12345678
group_pay_id
string
optional
Group pay ID (group_pay_id can be obtained from the GetMX backend or through the /v1/group-pay/list endpoint, with the 'id' field corresponding to 'group_pay_id').
Example:
1
rule
string
optional
Mail receiving rule
Example:
{}
action
string
optional
Action to be performed
Example:
{}
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: 16 小时前