Domain antispam policies
Create domain policy
You may create your own domain policy using this action. It takes a JSON object containing a domain informations.
post/api/v1/add/domain-policy
Request body
Example request
{
"domain": "domain.tld",
"object_from": "*@baddomain.tld",
"object_list": "bl"
}Response
OK