This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Cancels an event.
function cancelEvent(
eventId: string,
options: CancelEventOptions,
): Promise<CancelEventResponse>;
ID of the event to cancel.
import { events } from "@wix/calendar";
async function cancelEvent(eventId, options) {
const response = await events.cancelEvent(eventId, options);
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.