Delete several contacts
Delete up to 500 contacts of a vault at once, each exactly as deleting it alone would.
Each contact goes as it would one by one: what it took part in is kept, its reminders go quiet and say why, private links onto its page stop opening, and the deletion is written to the account log.
The contact representing you cannot be deleted. It is kept and listed with the reason, and the others are still deleted. No endpoint here brings a contact back today, so treat the deletion as final.
Parameters
Sent as JSON. Anything not listed here is ignored.
The vault the contact lives in, named either by the readable name it reports as slug or by its id. Both answer.
The ids or the addresses of the contacts of this vault to delete. At most 500.
Returns
Which contacts were deleted, and which were kept with the reason. A vault belonging to somebody else answers 404. More than 500 contacts answers 422 on contacts, and a contact that is not in the vault answers 422 on its position in the list. A contact already deleted is skipped and appears in neither list. Nothing is deleted when the call is refused.
What the deletion did.
Always contact_deletion.
Who was deleted and who was kept.
The contacts deleted.
The id of one of them.
The contacts that could not be deleted.
One of them.
The id of the contact.
Why it was kept, in the language of the account.
Rate limit
Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.