For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Help CenterAPI KeysStatusSign In
GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelog
  • Getting started
    • Overview
    • Quickstart
    • Authentication
    • Rate limits
  • Messaging API
    • Send transactional email
      • Batch send emails
      • Batch email idempotency
      • Schedule emails
      • Sandbox mode
      • Weekly event exports
      • SMTP relay integration
      • Delete transactional logs
      • Parse inbound email
    • Send transactional SMS
    • Send transactional WhatsApp
  • Marketing Platform
    • Manage your contacts
    • Track website activity
    • Send WhatsApp campaigns
    • Weekly event exports
  • Webhooks
    • Getting started
    • Conversations webhooks
    • Payment webhooks
    • Marketing webhooks
    • Transactional webhooks
    • Loyalty webhooks
    • Batched webhooks
    • Secure webhook calls
    • Meetings and phone webhooks
    • Push notification webhooks
    • Sales CRM webhooks
  • Conversations
    • Getting started
    • Customize the chat widget
    • JavaScript API reference
    • REST API reference
    • Conversations webhooks
  • eCommerce
    • Activate eCommerce app
    • Manage product categories
    • Manage products
    • Manage orders
    • Coupon collections
    • eCommerce tracker events
  • Loyalty
    • Overview
    • Set up a program
    • Enroll members
    • Credit & debit points
    • Read member data
    • Best practices
  • Custom Objects
    • Custom objects management
  • Brevo tracker and events
    • Getting started
    • JavaScript implementation
    • REST implementation
    • Legacy tracker documentation
    • Events
  • Accounts and settings
    • Senders and domains
    • User activity logs
    • External feeds
    • Invited users
LogoLogo
Help CenterAPI KeysStatusSign In
On this page
  • Use the log deletion endpoint to start a deletion job.
  • Execute the call.
  • Verify the actions.
Messaging APISend transactional email

Delete transactional logs

Was this page helpful?
Previous

Parse inbound email

Next
Built with

Use the log deletion endpoint to start a deletion job.

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'

Execute the call.

After you specify the address and execute the call, the response returns a process_id indicating that an asynchronous deletion job is running.

Optional: 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: once the deletion completes, verify it 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.