deleteBookmark( )


Removes a schedule item bookmark for a currently logged-in member.

Permissions
Manage Events
Learn more about app permissions.
Method Declaration
Copy
function deleteBookmark(itemId: string, eventId: string): Promise<void>;
Method Parameters
itemIdstringRequired

Schedule item ID.


eventIdstringRequired

Event ID to which the schedule belongs.

JavaScript
import { scheduleBookmarks } from "@wix/events"; async function deleteBookmark(itemId, eventId) { const response = await scheduleBookmarks.deleteBookmark(itemId, eventId); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?