Delete an SMTP transactional log

Delete SMTP transactional log entries identified by a message ID (enclosed in angle brackets with an @ sign) or a valid email address. Optionally narrow the deletion to a specific date range using from_date and to_date query parameters (YYYY-MM-DD format). The operation also removes any associated stored email preview content.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

identifierstringRequired

MessageId or email address of the transactional log(s) to delete. Must be a valid message ID (enclosed in angle brackets with @ sign) or a valid email address.

Query parameters

from_datestringOptional

Starting date (YYYY-MM-DD) to narrow down logs for deletion

to_datestringOptional

Ending date (YYYY-MM-DD) to narrow down logs for deletion

Errors

400
Bad Request Error
404
Not Found Error