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