# Delete a coupon list

> Remove a dynamic coupon list and all its codes from Data Platform › Dynamic Coupons.

Deleting a list removes it together with all its codes, sent or not. This cannot be undone.

The merge tag of a deleted list stops working. Messages that still use `{{dynamicCoupons.<name>}}` are skipped for every recipient: no code can be claimed, so nothing is sent. Remove or replace the merge tag in those emails, push notifications, text messages, Viber and WhatsApp messages and webhooks before you delete the list.

## Before you start

* No active campaign or workflow still uses the list’s merge tag.
* You have chosen the right list. Open it and check the **Sample** codes if you are not sure.
* Your plan includes deleting coupons. If **Delete** shows a lock icon, ask your account owner to unlock it.

## Steps

1. Go to **Data Platform › Dynamic Coupons**.

   ![Step 1](https://releva.ai/documentation/_astro/step-1.DiusL_4u_952XO.webp)

2. Select the name of the list you want to delete.

   The list opens on its edit page. Check the **Name** and the **Sample - First N existing coupon code(s)** card to make sure it is the right list.

   ![Step 2](https://releva.ai/documentation/_astro/step-2.BNMLKrKP_ZHywBA.webp)

3. Select **Delete**.

   ![Step 3](https://releva.ai/documentation/_astro/step-3.BE-oSEE3_1cYLMt.webp)

4. Select **Confirm**. This cannot be undone.

   The dialog reads **Are you sure?** and **This action cannot be undone!**. Select **Close** to keep the list.

   ![Step 4](https://releva.ai/documentation/_astro/step-4.BOTWGzBT_ZglnKo.webp)

5. You are back on **Dynamic Coupons** and the list is gone.

   ![Step 5](https://releva.ai/documentation/_astro/step-5.CPaDoIi9_1g7BMF.webp)

## Check it worked

* The list’s card is no longer on **Dynamic Coupons**, and a search for its name shows **No results found**.
* The list’s **Dynamic coupon:** entry is no longer offered in the **Merge Tags** picker of the message editors.

## Troubleshooting

**The list is still there after Confirm.** Reload the page. If it is still listed, the delete request failed; try again.

**A message that used the list is not being sent.** The merge tag of the deleted list is still in its content. Edit the message and replace the tag with one of an existing list, or remove it.

**You deleted the wrong list.** The codes cannot be restored in Releva. The codes still exist in your shop: upload them again as a new list with the same name, and the merge tag works again.

## Next steps

* [How dynamic coupons work](https://releva.ai/documentation/learn/dynamic-coupons/how-dynamic-coupons-work/): Learn how each recipient gets a different code and what happens when a list runs out.
* [Upload a list of coupon codes](https://releva.ai/documentation/guides/dynamic-coupons/upload-a-list-of-coupon-codes/): Create a new list from a .txt file of codes that exist in your shop.
* [Check how many coupon codes are left](https://releva.ai/documentation/guides/dynamic-coupons/check-how-many-coupon-codes-are-left/): See how many unused codes your other lists still have.
* [Create Shopify coupons](https://releva.ai/documentation/guides/dynamic-coupons/create-shopify-coupons/): On a Shopify shop, replace the list with a coupon whose codes Releva creates for you.
* [Delete a Shopify coupon](https://releva.ai/documentation/guides/dynamic-coupons/delete-a-shopify-coupon/): Delete a coupon from the **Shopify Coupons** tab, which also removes its unsent codes from Shopify.