# Delete Territory Model

The **DeleteTerritoryModel** template enables the removal of a Territory Model configuration from Salesforce through AutoRABIT’s Environment Provisioning module.

## Steps to Create the DeleteTerritoryModel Template

1. Log in to your AutoRABIT account.
2. Navigate to the **Env. Pro.** module.
3. Click **Create New Template**.
4. Go to the **Create Unsupported Metadata Template** tab.
5. Enter a **name** and a **short description** for the template.
6. Select the **DeleteTerritoryModel** checkbox under **NewTerritory Model**.
7. Click **Add**.
8. On the next screen:
   * A **Test Case Name** is auto-generated by default.
   * Click **Add** to input custom test data.
   * Fill in the following field:
     * **Label Name**: Enter the name of the Territory Model you want to delete.
   * Click **Save** to save this test case.
9. Click **Save** again to save the template.
10. After successful creation, you’ll be redirected to the **Environment Provisioning History** screen.
11. Click **Run** to execute the template on your destination org.
12. Select your **destination org** from the dropdown and enter the **email address(es)** to receive a notification upon execution.
13. In the **Post Deployment Steps**, select the test cases you recently created.
14. For a detailed summary report, refer to the **View History** page.
