> 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 # DeleteGallery # Package: proGallery # Namespace: ProGallery # Method link: https://dev.wix.com/docs/api-reference/assets/pro-gallery/delete-gallery.md ## Permission Scopes: Manage Galleries: SCOPE.DC-PROGALLERY.MANAGE-GALLERIES ## Introduction Deletes a gallery. >**Notes:** > * The deleted gallery appears as an empty widget on the live site. > * The deleted gallery is no longer retrieved when calling the [List Galleries](https://dev.wix.com/api/rest/site-content/pro-gallery/list-galleries) endpoint. > --- ## REST API ### Schema ``` Method: deleteGallery Description: Deletes a gallery. >**Notes:** > * The deleted gallery appears as an empty widget on the live site. > * The deleted gallery is no longer retrieved when calling the [List Galleries](https://dev.wix.com/api/rest/site-content/pro-gallery/list-galleries) endpoint. > URL: https://www.wixapis.com/pro-gallery/v2/galleries/{galleryId} 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 Method parameters: param name: galleryId | type: none | required: true Return type: DeleteGalleryResponse - name: galleryId | type: string | description: GUID of the deleted gallery. ``` ### Examples ### Delete a gallery ```curl curl -X DELETE \ 'https://www.wixapis.com/progallery/v2/galleries/c68c0dc5-088f-4205-b202-3eef797ea0ab' \ -H 'Content-Type: application/json' \ -H 'Authorization: ' ``` ---