# Delete a Data Element

## Introduction

This document outlines the step-by-step procedure for deleting a particular Data Element.

## Procedure

To delete a Data Element in Ingest Labs, perform the following steps:

**Step 1:** Select the Data Element you want to delete.

<figure><img src="/files/NVZVoibYLQEpCERZRDp9" alt=""><figcaption></figcaption></figure>

**Step 2:** From the **Actions** drop-down menu on the top right corner, select **Delete**.

<figure><img src="/files/oaguZv5U7XUNMN3VFXhq" alt=""><figcaption></figcaption></figure>

**Step 3:** Click **Yes** on the confirmatory message that appears.

![](https://ingest-lab.netlify.app/images/dataelementsimages/deleteconfirmatory.png)

**Step result**: The Data Element is deleted successfully.

**Note 1:** You cannot delete a Data Element if there are any dependencies in the tag. Only after deleting the dependent categories, you can delete the Data Element successfully.

![](https://ingest-lab.netlify.app/images/dataelementsimages/deletedependencies.png)

**Note 2:** Even after deleting the dependencies, if you cannot delete the Data Element, then you must Publish the relevant categories first and then perform the delete operation.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FVktzCjT05OPjn6nZFwGB%2FDelete%20data%20element.mp4?alt=media&token=d497bb74-307c-46cb-ab81-4a54c155ed61>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ingestlabs.com/tag-manager/data-elements/delete-a-data-element.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
