POST email-lists/{id}/cleanup-requests

Clean up an email list

Request

URL ( requires authentication )

https://api.crexi.com/email-lists/{id}/cleanup-requests

Parameters

id

integer

id of email list

Required

Body Parameters

Parameters

RemoveNeverOpened

boolean

Optional

RemoveSpamReports

boolean

Optional

RemoveUndelivered

boolean

Optional

RemoveUnsubscribed

boolean

Optional

Example

JSON

{
  "RemoveNeverOpened": true,
  "RemoveSpamReports": true,
  "RemoveUndelivered": true,
  "RemoveUnsubscribed": true
}

Response

Details

Returns an HTTP 200 OK if operation was successful. Returns 400 Bad Request and an error message otherwise.