Add alias
POST
/v1/alias/createdomain_id AND group_pay_id can't both empty
请求参数
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:
12345678
source
string
optional
Alias rule
Example:
{all}@mail.com
destination
string
optional
Alias receive email
Example:
admin@mail.com
示例代码
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: 5 个月前