Permanently deletes multiple events that meet the given criteria.
You can retrieve the deleted events through a GDPR access request.
You can only call this method when authenticated as a Wix app or Wix user identity.
function bulkDeleteEventsByFilter(
options: BulkDeleteEventsByFilterOptions,
): Promise<void>;
Optional fields.
import { wixEventsV2 } from "@wix/events";
async function bulkDeleteEventsByFilter(options) {
const response = await wixEventsV2.bulkDeleteEventsByFilter(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.