> ## 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 schema in a Trino catalog

> Delete a schema in a Trino catalog when you no longer need all tables in the schema.

You can delete a schema in a Trino catalog without having to enter a SQL command. You do this
when you no longer need all tables in the schema.

<Warning>
  * Deleting a non-empty schema isn't allowed.
  * Deleting a schema in a Trino catalog can't be undone.
</Warning>

## Delete a schema in a Trino catalog

<Tabs>
  <Tab title="Web portal" icon="browser">
    Perform these steps to delete a schema in a Trino catalog.

    1. Log in to NexusOne.
    2. On the top navigation bar, hover your mouse over **Catalog & Models** and then select **Catalogs**.
    3. Click a catalog to view its schemas.
    4. Click a schema and then click **Delete Schema**.
    5. Click **Delete** to confirm your selection.
  </Tab>

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

    * [Delete catalog schema](/api-reference/endpoints/metastore/delete-catalog-schema).

    To get the catalog and schema names, use the following API endpoint to:

    * [Get catalogs](/api-reference/endpoints/metastore/get-catalogs).
    * [Get catalog schemas](/api-reference/endpoints/metastore/get-catalog-schemas).
  </Tab>
</Tabs>

## Additional resources

For an overview of the Govern feature, refer to [Govern Overview](/documentation/govern/overview).
