> 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 # DeleteGalleryItem # Package: proGallery # Namespace: ProGallery # Method link: https://dev.wix.com/docs/api-reference/assets/pro-gallery/delete-gallery-item.md ## Permission Scopes: Manage Galleries: SCOPE.DC-PROGALLERY.MANAGE-GALLERIES ## Introduction Deletes a media item from a gallery. --- ## REST API ### Schema ``` Method: deleteGalleryItem Description: Deletes a media item from a gallery. URL: https://www.wixapis.com/pro-gallery/v2/galleries/{galleryId}/items/{itemId} Method: DELETE # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: galleryId, itemId Method parameters: param name: galleryId | type: none | required: true param name: itemId | type: none | required: true Return type: DeleteGalleryItemResponse - name: itemId | type: string | description: GUID of the deleted media item. ``` ### Examples ### Delete a gallery item ```curl curl -X DELETE \ 'https://www.wixapis.com/progallery/v2/galleries/432c362d-1440-4205-b9cb-35ea11a22682/items/fa499c86-aee9-11ea-8c85-12879e2400f0' \ -H 'Content-Type: application/json' \ -H 'Authorization: ' ``` ---