---
title: "Delete unwanted marketing definitions and marketing taxonomies"
slug: "delete-unwanted-marketing-definitions-and-marketing-taxonomies"
abstract: ""
---
# Delete unwanted marketing definitions and marketing taxonomies

If you are using the xDB functionality, you might have restored some previously deleted marketing definitions and marketing taxonomies before installing the upgrade package.

Now that the upgrade and installation is complete, you can delete your custom marketing definitions and marketing taxonomies again.

> [!note]
> If you try to remove any Sitecore XP items that are provided out of the box, they will not be removed. Since Sitecore XP 10.1.0, these default items are supplied as resources and are immutable.

To see a list of the marketing definitions that were previously deleted:

- In a text editor, open the `\App_Data\RestoredDefinitions_{timestamp}.dat` file.

To see a list of the marketing taxonomies that were previously deleted:

- In a text editor, open the `\App_Data\RestoredTaxonomies_{timestamp}.dat` file.

To delete the unwanted marketing definition items from the *Master* database:

1. To open the **Restore Deleted Marketing Definitions** page, enter the following URL in a browser:

    `http://<hostname>/sitecore/admin/RestoreDeletedMarketingDefinitions.aspx`

2. At the bottom of the page, next to the name of the file that contains data about the restored items, click **Remove restored definition items**.

    ![SC-XM-Upgrade-Guide-Remove-Restored-Definition-Items.png](https://doc.sitecore.com/api/markdown-image/xp/en/developers/105/guides/upgrade-guide-for-sitecore-experience-platform-1050/images/SC-XM-Upgrade-Guide-Remove-Restored-Definition-Items.png)

To delete unwanted marketing taxonomy items from the *Master* database:

1. To open the *Restore Deleted Marketing Taxonomies* page, enter the following URL in a browser:

    `http://<hostname>/sitecore/admin/RestoreDeletedMarketingTaxonomies.aspx`

2. At the bottom of the page, next to the name of the file that contains data about the restored items, click **Remove restored taxonomy items**.

    ![SC-XM-Upgrade-Guide-Remove-Restored-Taxonomy-Items.png](https://doc.sitecore.com/api/markdown-image/xp/en/developers/105/guides/upgrade-guide-for-sitecore-experience-platform-1050/images/SC-XM-Upgrade-Guide-Remove-Restored-Taxonomy-Items.png)