Delete in bulk
Deletes up to 1000 contacts by id or by email address in one request and lists the rows actually deleted; unknown ids or addresses are skipped. Emails stay in the log; erase: true also scrubs each address from email history, event payloads and API logs, like DELETE /contacts/{id}?erase=true.
POST
/contacts/batch/removeAuthorization
AuthorizationBearer token · headerrequiredA BillionSend API key (bs_…).
Request body
requiredapplication/jsonidsstring<uuid>[]Contact ids to delete, up to 1000
min items 1 · max items 1000
emailsstring<email>[]Contact email addresses to delete, up to 1000; matched case-insensitively
min items 1 · max items 1000
erasebooleanAlso erase each address from email history, event payloads and API logs (GDPR/LGPD); by default the send log is kept
Responses
200
The contacts that were deleted
dataRemoveContactResponse[]requiredShow propertiesHide properties
Array of
RemoveContactResponseobjectstringrequiredAllowed:
contactcontactstring<uuid>requireddeletedbooleanrequiredAllowed:
true401
Missing, malformed, unknown or revoked API key
statusCodenumberrequirednamestringrequiredmessagestringrequired422
Validation error
statusCodenumberrequirednamestringrequiredmessagestringrequired429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequirednamestringrequiredmessagestringrequired