This resource deletes a contact filter by its ID
1 |
DELETE https://api.maileon.com/1.0/contactfilters/contactfilter/{contactFilterId} |
Attributes
Parameter | Default | Description |
---|---|---|
id | The maileon ID of the contact filter to remove. |
Response Codes
Code | Message | Description |
---|---|---|
204 | No content | Default status when everything worked well. |
404 | Not found | There was no filter found with the given ID. |
409 | Conflict | The filter could not be deleted. Reasons are usually: the filter is used in a target group or in an active trigger mailing. |
5xx | Server error | An unexpected error occured. |
Example
1 2 3 4 |
DELETE https://api.maileon.com/1.0/contactfilters/contactfilter/12 Content-type: application/vnd.maileon.api+xml Accept: application/vnd.maileon.api+xml Authorization: [XXX] |
1 2 |
Status: 204 No Content Content-Type: application/vnd.maileon.api+xml |