> 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 # DeleteInfoSection # Package: catalogV3 # Namespace: InfoSectionsService # Method link: https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/info-sections-v3/delete-info-section.md ## Permission Scopes: Info section write in v3 catalog: SCOPE.STORES.INFO_SECTION_WRITE ## Introduction Deletes an info section. > **Note:** Deleting an info section will also remove it from all products it is assigned to. --- ## REST API ### Schema ``` Method: deleteInfoSection Description: Deletes an info section. > **Note:** Deleting an info section will also remove it from all products it is assigned to. URL: https://www.wixapis.com/stores/v3/info-sections/{infoSectionId} Method: DELETE # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: infoSectionId Method parameters: param name: infoSectionId | type: none | required: true Return type: DeleteInfoSectionResponse EMPTY-OBJECT {} ``` ### Examples ### Delete Info Section ```curl curl -X DELETE \ 'https://www.wixapis.com/stores/v3/info-sections/5db34212-4870-4a28-b210-187be25b24cd' \ -H 'Content-Type: application/json' \ -H 'Authorization: ' ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.catalogV3.InfoSectionsService.deleteInfoSection(infoSectionId) Description: Deletes an info section. > **Note:** Deleting an info section will also remove it from all products it is assigned to. # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: infoSectionId Method parameters: param name: infoSectionId | type: string | description: Info section GUID | required: true Return type: PROMISE EMPTY-OBJECT {} ``` ### Examples ### deleteInfoSection ```javascript import { infoSectionsV3 } from '@wix/stores'; async function deleteInfoSection(infoSectionId) { const response = await infoSectionsV3.deleteInfoSection(infoSectionId); }; ``` ### deleteInfoSection (with elevated permissions) ```javascript import { infoSectionsV3 } from '@wix/stores'; import { auth } from '@wix/essentials'; async function myDeleteInfoSectionMethod(infoSectionId) { const elevatedDeleteInfoSection = auth.elevate(infoSectionsV3.deleteInfoSection); const response = await elevatedDeleteInfoSection(infoSectionId); } ``` ### deleteInfoSection (self-hosted) Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md). ```javascript import { createClient } from '@wix/sdk'; import { infoSectionsV3 } from '@wix/stores'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { infoSectionsV3 }, // Include the auth strategy and host as relevant }); async function deleteInfoSection(infoSectionId) { const response = await myWixClient.infoSectionsV3.deleteInfoSection(infoSectionId); }; ``` ---