Develop Websites
Build Apps
Go Headless
APIs and SDKs
/
onEventDeleted( )
Notes:
This method registers a callback function as an event handler.
When
developing websites
or
building apps with Blocks
, use a
Velo backend event
instead of this method.
The way you call this method differs depending on the framework you are working in:
When using the
CLI
, run the
generate
command to
add an event extension
, and then call this method within the extension code.
When building a
self-hosted app
,
subscribe your app to the relevant event
, and then call this method on your server.
Triggered when event is deleted.
Permissions
Manage Blog
Manage Bookings Services and Settings
Manage Challenges
Access Verticals by Automations
Set Up Automations
Manage Events - all permissions
Read Events - all read permissions
Manage Events
Manage Guest List
Read Events
Manage Events
Manage Portfolio
Manage Restaurants - all permissions
Manage Stores
Learn more about
app permissions
.
Method Declaration
Copy
Method Parameters
handler
function
handler(event: EventDeletedEnvelope): void | Promise<void>
Show function Parameters
Did this help?
Yes
No