Deleting transactional logs based on recipient address
Use the log deletion endpoint to start a deletion job.
Start the deletion by defining the recipient address you would like to completely erase from the database by executing the transactional deletion endpoint with the following properties.
curl --request DELETE \
--url https://api.brevo.com/v3/smtp/log/[email protected] \
--header 'accept: application/json'
Execute the call.
When you specify the address and execute the call you will receive as a response a process_id
which indicates an asynchronous deletion job is running.
Optional:You can retrieve the status of the asynchronous job by querying the "Return the informations for a process" endpoint.
curl --request GET \
--url https://api.brevo.com/v3/processes/352351 \
--header 'accept: application/json'
Verify the actions.
Option 1: You can verify the deletion actions, once completed, by accessing the logs view. Type the recipient address , result set should be 0.
Option 2: You can verify the deletion actions by querying the following endpoint: https://developers.brevo.com/reference/gettransacemailslist
Updated 11 months ago