deleteEvent( )


Deletes a Wix event.

The deleteEvent() function returns a Promise that resolves when the specified Wix event is deleted.

Any event can be deleted regardless of its status or if attendees are registered.

Deleted events are not returned by the getEvent() or queryEvent() functions.

Only those with "Manage Events" permissions can delete Wix events.

Note: This function requires elevated permissions to run.

This function is not universal and runs only on the backend.

Method Declaration
Copy
Method Parameters
eventIdstringRequired

Event ID.

Was this helpful?
Yes
No