Delete transactional logs

View as Markdown

Call the log deletion endpoint

Define the recipient address to erase from the database and call the transactional deletion endpoint with the following properties.

curl --request DELETE \
--url https://api.brevo.com/v3/smtp/log/recipient@brevo.com \
--header 'accept: application/json'

Understand the response

The endpoint processes the deletion synchronously and returns a 204 status code with no response body once the matching logs (and any associated stored email preview content) have been deleted.

Verify success

Option 1: once you receive the 204 response, verify the deletion by opening the logs view. Type the recipient address — the result set should be 0.

Option 2: verify the deletion by querying the following endpoint.