This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a media item in a specified gallery is deleted.
Note: The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
The property originatedFrom
has the value Gallery Deleted
if the entire gallery is deleted. If the gallery item is deleted individually, this field is empty.
handler(event: GalleryItemDeletedEnvelope): void | Promise<void>