mailvina
DocumentationGuidesAPI reference
Product
PricingDocs
Log inStart sending
API referenceAudiences & contactsDelete audience

API reference

  • Emails
    • Overview
    • POSTSend email
    • POSTSend batch emails
    • GETRetrieve email
    • GETList emails
    • PATCHUpdate email
    • POSTCancel email
  • Domains
    • Overview
    • POSTCreate domain
    • GETList domains
    • GETRetrieve domain
    • POSTVerify domain
    • PATCHUpdate domain
    • DELDelete domain
  • API keys
    • Overview
    • POSTCreate API key
    • GETList API keys
    • DELDelete API key
  • Audiences & contacts
    • Overview
    • POSTCreate audience
    • GETList audiences
    • GETRetrieve audience
    • DELDelete audience
    • POSTCreate contact
    • GETList contacts
    • GETRetrieve contact
    • PATCHUpdate contact
    • DELDelete contact
  • Broadcasts
    • Overview
    • POSTCreate broadcast
    • GETList broadcasts
    • GETRetrieve broadcast
    • PATCHUpdate broadcast
    • POSTSend broadcast
    • DELDelete broadcast
  • Templates
    • Overview
    • POSTCreate template
    • GETList templates
    • GETRetrieve template
    • PATCHUpdate template
    • DELDelete template
  • Webhooks
    • Overview
    • POSTCreate webhook
    • GETList webhooks
    • GETRetrieve webhook
    • PATCHUpdate webhook
    • DELDelete webhook
  • Suppressions
    • Overview
    • GETList suppressions
    • POSTAdd suppression
    • DELRemove suppression
  • Receiving
    • Overview
    • GETList received emails
    • GETRetrieve received email
    • GETGet attachment
  • Metrics
    • Overview
    • GETGet metrics

For AI tools

  • llms.txt
  • llms-full.txt

API reference / Audiences & contacts

Read the guide

Delete audience

Deletes the audience and all of its contacts.

DELETE/audiences/:id

Path parameters

  • idstringrequired

    The audience ID.

Request

curl -X DELETE 'https://api.mailvina.com/audiences/:id' \
  -H 'Authorization: Bearer mv_xxxxxxxxx'

Response

200 OK
{
  "object": "audience",
  "id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "deleted": true
}
PreviousRetrieve audienceNextCreate contact