Deletes schedule items from the draft schedule.
function deleteScheduleItem(
eventId: string,
options: DeleteScheduleItemOptions,
): Promise<void>;
Event ID to which the schedule belongs.
Optional fields.
import { schedule } from "@wix/events";
async function deleteScheduleItem(eventId, options) {
const response = await schedule.deleteScheduleItem(eventId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.