DELETE
/v1/audiences/{audience_id}Delete an audience
Deletes an audience and disables future destination syncs.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
audience_id | string | Yes | Audience identifier. |
Response schema · 200
{
"deleted": true,
"audience_id": "aud_123"
}Response example
{
"deleted": true,
"audience_id": "aud_123"
}Code examples
curl https://api.tracklayer.com/v1/audiences/aud_123 \
-X DELETE \
-H "Authorization: Bearer ${API_KEY}"Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.