For regular mails (newsletters) it is possible to set a flag for deleting the used contact group and filter after successful sendout. The group and filter must not be used in other locations, e.g. other contact filters, transaction mails and the like, otherwise they cannot be removed.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/settings/post_sendout_cleanup |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
404 Not found |
Mailing ID cannot be found or property is not available |
Example
200 OK
1 2 |
GET https://api.maileon.com/1.0/mailings/1234/settings/post_sendout_cleanup 200 |
1 |
<cleanup>true</cleanup> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3416/settings/post_sendout_cleanup 404 Mailing with id 3416 not found. |