> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a data quality rule

> Delete a data quality rule to remove outdated or incorrect validation logic.

Sometimes you want to delete a data quality rule because it's outdated or was mistakenly added.
Follow these instructions to remove such rules to keep your data validation processes up to date.

<Warning>Deleting a data quality rule can't be undone.</Warning>

## Prerequisites

* Access to the NexusOne portal
* Appropriate permission: `nx1_quality`

## Delete a rule

<Tabs>
  <Tab title="Web portal" icon="browser">
    Perform these steps to delete a rule.

    1. Log in to NexusOne.
    2. On the top navigation bar, hover your mouse over **Data Pipeline** and then select **Quality**.
    3. Select your preferred catalog:
       * **iceberg**: When using an Iceberg table
       * **LLM**: Not applicable yet
    4. Select a schema and table.
    5. Scroll to the bottom of the page to find the Existing Rules table.
    6. Find the rule you want to delete.
    7. Click **Delete**, then confirm your selection.

    Now the rule is permanently deleted.
  </Tab>

  <Tab title="CLI" icon="square-terminal">
    Use the following `nx1` command to [delete a data quality rule](/cli-reference/nx1/dq#delete).
  </Tab>

  <Tab title="REST API" icon="code">
    Use the following API endpoint to [delete a data quality rule](/api-reference/endpoints/data-quality/delete-data-quality-rule).
  </Tab>
</Tabs>

## Additional resources

* For general instructions about how to ingest a file in NexusOne, refer to [How to ingest a file](/documentation/data-pipeline/tasks/ingest/ingest-a-file).
* For instructions on how to set a rule, refer to [Set a data quality rule](./set-a-dq-rule).
* For more information about roles or permissions, refer to [Govern Overview](/documentation/govern/overview).
