Audiences (deprecated)

Remove a contact from an audience

Deprecated (as in Resend): removes the membership; the contact stays.

Deprecated

DELETE
/audiences/{id}/contacts/{contact_id}

Deprecated (as in Resend): removes the membership; the contact stays.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid
contact_id*string

The contact's id or email address

Response Body

Success

application/json
  1. response

The answer to a contact's DELETE (Resend names the id contact).

contact*string
Formatuuid
deleted*boolean
object*string
Example Request
curl -X DELETE 'https://api.exx.sh/audiences/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts/string'
Example Response
{  "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4",  "deleted": true,  "object": "string"}