Delete an audience and all its contacts.
cURL
curl --request DELETE \ --url https://api.unosend.co/audiences/{id} \ --header 'Authorization: Bearer <token>'
Documentation IndexFetch the complete documentation index at: https://docs.unosend.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.unosend.co/llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://api.unosend.co/audiences/aud_123 \ -H "Authorization: Bearer un_xxxxxxxxxx"
{ "success": true, "data": { "id": "aud_123" } }