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

# Remove a role's access

> Remove a role's access to data, a storage location, or a tag so the role loses access.

To remove the access a role has, you edit or delete the policy that grants it. When you remove the role,
it loses access to whatever the policy covers.

## Prerequisites

Before starting this task, ensure you have the following:

Required roles: `nx1_migration_admin` or `nx1_migration_ops`.

## Remove a role's access

> [tab] Web portal
>
> Perform these steps to remove a role's access.
>
> 1. Log in to NexusOne.
>
> 2. On the top navigation bar, hover your mouse over **Govern** and then select **Data Access**.
>
> 3. Click the **Who has access** tab.
>
> 4. Click one of the following options to show its fields:
>
>    * **Data**: Select the catalog, and optionally the schema and table.
>    * **Storage location**: Select a bucket to fill in the **Location** field,
>      or enter only the bucket path in the **Location** field.
>    * **Tag**: Select the tag.
>
> 5. In the table, find the role. The **From** column shows the policy that grants its access.
>
> 6. Click the **All policies** tab.
>
> 7. In the **Search policies by name** field, enter the policy name from step 5.
>
> 8. Remove the access with one of the following options:
>
>    * To remove the role from the policy, click the pencil icon, remove the role from the policy, and save the policy.
>    * To remove every role in the policy, click the trash icon, and then click **Delete**. This permanently deletes the
>      policy from Ranger.

> [tab] REST API
>
> Use the following API endpoint to
> [show who has access](https://docs.nx1cloud.com/api-reference/endpoints/data-access/show-who-has-access-to-a-table-schema-catalog-storage-location-or-tag.md)
> to data, a storage location, or a tag.

## Additional resources

For an overview of the Govern feature, refer to [Govern Overview](https://docs.nx1cloud.com/documentation/govern/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.