Documentation
Sign inGet started

Remove a contact from an audience

DELETE
/v1/audiences/{audience_id}/contacts/{contact_id}
await bird.audiences.removeContact(
  "adn_01krdgeqcxet5s7t44vh8rt9mg",
  "con_01krdgeqcxet5s7t44vh8rt9mg",
);
Removes a contact's membership in an audience. The contact itself is not deleted and remains a member of any other audiences. Removing a contact that is not a member of the audience succeeds with no effect (204); an unknown audience or contact returns a not-found error.
Parameters
audience_id
string
ID of the audience to remove the contact from (adn_-prefixed).
contact_id
string
ID of the contact to remove (con_-prefixed).