> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # BulkDeleteGalleryItems # Package: proGallery # Namespace: ProGallery # Method link: https://dev.wix.com/docs/api-reference/assets/pro-gallery/bulk-delete-gallery-items.md ## Permission Scopes: Manage Galleries: SCOPE.DC-PROGALLERY.MANAGE-GALLERIES ## Introduction Deletes multiple media items from a gallery. --- ## REST API ### Schema ``` Method: bulkDeleteGalleryItems Description: Deletes multiple media items from a gallery. URL: https://www.wixapis.com/pro-gallery/v2/galleries/{galleryId}/items/delete Method: POST # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: itemIds Method parameters: param name: itemIds | type: array | description: IDs of the media items to delete. | required: true Return type: BulkDeleteGalleryItemsResponse - name: itemIds | type: array | description: IDs of the deleted media items. ``` ### Examples ### Delete multiple gallery items ```curl curl -X POST \ 'https://www.wixapis.com/progallery/v2/galleries/432c362d-1440-4205-b9cb-35ea11a22682/items/delete' \ -H 'Content-Type: application/json' \ -H 'Authorization: ' \ -d '{ "itemIds": [ "fa499c86-aee9-11ea-8c85-12879e2400f0", "cb499c86-aee9-11ea-8c85-12879e2400f0" ], }' ``` ---