This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a media item from a gallery.
When a gallery item is deleted, the deleted gallery item is no longer returned when calling the listGalleryItems()
function.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Gallery ID and Item ID.