Remove custom mailing property for mailing with provided ID.
Length of property name should not be larger than 255 symbols.
1 |
DELETE https://api.maileon.com/1.0/mailings/:mailingid/settings/properties |
Attributes
Parameter | Default | Description |
---|---|---|
name | Mailing custom property to remove |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok |
400 Bad request |
Property name not acceptable |
404 Not found |
Mailing ID cannot be found or property is not available |
409 Conflict |
Mailing is sealed |
Example
200 OK
1 2 |
DELETE https://api.maileon.com/1.0/mailings/1234/settings/properties?name=peoperety_name 200 |
400 Bad Request
1 2 |
PUT https://api.maileon.com/1.0/mailings/1234/settings/properties?name=prop_name&value={verylongvalueover255symbols} 400 |
404 Not Found
1 2 3 |
DELETE https://api.maileon.com/1.0/mailings/3108/checks/testsendout?name=property_name 404 <error><message>Mailing with id 3108 not found.</message></error> |
409 Conflict
1 2 3 |
DELETE https://api.maileon.com/1.0/mailings/3008/checks/testsendout?name=property_name 409 <error><message>Mailing with ID 3008 is sealed.</message></error> |