{
“user”: “user”,
“targetEmail”: “angie@sample.com“
}MX record will be added, point to forwarding server mail.ezydomain.com. Should not add other MX server as it will interrupt the forwarding service._
curl --location --request POST 'https://oteapi.webnic.cc/dns/v2/zone/sampledomain.com/email-forwarding' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": "user1",
"targetEmail": "support@webnic.cc",
"overrideConflictingRecord": true
}'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"zone": "domaintesting123.com",
"user": "user1",
"targetEmail": "support@webnic.cc",
"status": "inactive",
"dtcreate": "2024-05-15T16:42:48.506+08:00",
"dtmodify": "2024-05-15T16:42:48.509+08:00"
}
}