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

# REVOKE Role

<a id="sql-security-priv-mgmt-role-revoke" />

[Roles](/content/security/sec_concepts#security-concepts-roles) can be revoked from
[users](/content/security/sec_concepts#security-concepts-users) or other roles.

```sql title="REVOKE Role Syntax" theme={null}
REVOKE <role name> FROM <user name | role name>
```

## Examples

To revoke a role allowing access to analyst tables from the **analyst** role:

```sql REVOKE Role from Role Example theme={null}
REVOKE analyst_table_access FROM analyst
```

To revoke the **analyst** role from user **jsmith**:

```sql REVOKE Role from User Example theme={null}
REVOKE analyst FROM jsmith
```


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