This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes multiple contacts that match the provided filter. Works asynchronously.
All contacts that meet the specified filter and search criteria are deleted. The request must contain a filter value, a search value, or both. To preview which contacts match before deleting, call Search Contacts with the same criteria.
To check the status of the bulk deletion, pass the returned jobId to Get Async Job.
Deleted contacts are moved to the trash bin and can be restored within 90 days by calling Restore Contact From Trash Bin or Bulk Restore Contacts From Trash Bin.
Individual contacts can fail during processing. These failures appear in the job's results with one of the following error codes:
CANNOT_DELETE_SITE_MEMBERS: Contact is a site member and can't be deleted. The site member must be deleted first.CANNOT_DELETE_CONTACT_WITH_BILLING_SUBSCRIPTION: Contact has an active billing subscription and can't be deleted.CANNOT_DELETE_WIX_USERS_MEMBER: Site member can't be deleted because it's the owner or a contributor.FAILED_DELETE_CONTACT_AFTER_MEMBER_DELETION: Site member was deleted, but the contact was not.FAILED_DELETE_CONTACT: Contact couldn't be deleted.You can only call this method when authenticated as a Wix app or Wix user identity.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.