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

# Edit a table in a Trino catalog

> Update a table's metadata in a Trino catalog to keep it aligned with business context.

In a Trino catalog, you can edit a table's metadata, such as tags, DataHub domain, column name and data type.
You don't need to write a SQL command.

## Edit a table in a Trino catalog

<Tabs>
  <Tab title="Web portal" icon="browser">
    Perform these steps to edit a table 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 to view its table.
    5. Click a table.
    6. You can perform one of the following actions:
       * To add a tag, click **Add Tag** at the top right corner of the page, and select a tag.
       * To delete a tag, click the **X** icon on the tag name.
       * To add a domain, click **Add Domain** at the top right corner of the page, select a domain, and click **Add**.
       * To delete a domain, click the **X** icon on the domain name.
       * To add a data glossary term, click **Add Term** and select a pre-defined term.
       * Scroll down to the **Columns** section and do one of the following:
         * To add a new column, click **Add Column**.
         * To rename, change data type, or delete a column, click the three dots.
         * To add a tag to a column, click **Tag**.
         * To add a data glossary term to a column, click **Add Term** and select a pre-defined term.
       * To use AI to classify a table's data sensitivity, suggest business glossary terms, and recommend tags,
         click **Classify Table.**
  </Tab>

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

    * [Add tag to column](/api-reference/endpoints/metastore/add-tag-to-column)
    * [Remove tag from column](/api-reference/endpoints/metastore/remove-tag-from-column)

    To get the table you want to edit, use the following API endpoints to:

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

## Additional resources

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