> ## 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 API

> Delete a data API when it's no longer needed.

When you no longer need a data API, you can delete it.

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

## Prerequisites

* Appropriate permission: `nx1_ask` or `nx1_engineer`
* An existing domain created using [DataHub](/platform-components/datahub)
* A previously [ingested](/documentation/data-pipeline/overview/ingest) dataset within a DataHub domain

## Delete a data API

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

    1. Log in to NexusOne.
    2. On the NexusOne homepage, click **Connect**.
    3. In the Data APIs table, find the data API you want to delete in the list.
    4. You should see a three-dot menu next to each API entry. Click the 3-dot and then click **Delete View**.
  </Tab>

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

  <Tab title="REST API" icon="code">
    Use the following API endpoint to:

    1. [Retrieve a list of data products](/api-reference/endpoints/data-products-formerly-views/retrieves-a-list-of-data-products).
    2. [Delete a data product by its ID](/api-reference/endpoints/data-products-formerly-views/deletes-data-product-by-id).
  </Tab>
</Tabs>

## Additional resources

* For an overview of the Data API and API key feature, refer to
  [Data API and API key Overview](/documentation/platform/overview/data-api-and-api-key).
* For more information about the Ask API, refer to [Create an Ask API](/documentation/ai/tasks/ask/create-an-ask-api).
* For more information about the Engineer API, refer to [Create an Engineer API](/documentation/data-pipeline/tasks/engineer/create-an-engineer-api).
* For more information about roles or permissions, refer to [Govern Overview](/documentation/govern/overview).
