Delete an audience by ID.
If other audiences are built on this one, the delete is refused with 409 and code has_dependents. The body lists them in dependents. To see the same list without deleting, call GET /api/v1/audiences/{id}/dependents.
Add force=true to delete anyway. Delivr removes the references to this audience from each dependent, rebuilds it, and queues it to refresh. A dependent left with no conditions is paused.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204Audience deleted.
401Missing or invalid authentication.
403Forbidden.
404Audience not found.
409Not deleted. Code has_dependents: other audiences are built on this one, and force was not set. Code dependent_not_rebuildable: a dependent already references a persona or company that no longer exists, so force cannot update it. dependent and dependent_id name it. Fix its conditions, then delete again.
503The audience schema is temporarily unavailable during a forced delete. Retry.
