--- displayed_sidebar: pricingReference badge: variant: orange text: Beta slug: /references/pricing/delete sidebar_label: delete --- import ParameterTypes from "@site/src/components/ParameterTypes" # delete - Pricing Module Reference This documentation provides a reference to the `delete` method. This belongs to the Pricing Module. This method deletes price sets by their IDs. ## Example ```ts import { initialize as initializePricingModule, } from "@medusajs/pricing" async function removePriceSetRule (priceSetIds: string[]) { const pricingService = await initializePricingModule() await pricingService.delete(priceSetIds) } ``` ## Parameters ## Returns