API referenceAudiences

Delete an audience

DELETE
/v1/audiences/{id}

Hard delete, including all membership rows.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <key>. Looked up by SHA-256 hash (email_core::sha256_hex) against api_keys.hash; revoked keys and keys belonging to a suspended tenant are rejected. See the top-level Authentication section for permission levels.

Path Parameters

id*string

Response Body

Deleted.

application/json
  1. response
deleted?true
Value intrue
id?string
curl -X DELETE "https://example.com/v1/audiences/string"
{  "deleted": true,  "id": "string"}