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

# ALTER ROLE

A [role](/content/security/sec_concepts#security-concepts-roles) can have its associated
[resource group](/content/rm/concepts#rm-concepts-resource-groups) modified.

```sql title="ALTER ROLE Syntax" theme={null}
ALTER ROLE <role name>
SET RESOURCE GROUP [=] <group name | DEFAULT>
```

## Examples

To assign the **memory\_over\_execution** *resource group* to the **analyst**
role:

```sql ALTER ROLE Example theme={null}
ALTER ROLE analyst
SET RESOURCE GROUP memory_over_execution
```

To unassign the *resource group* from the **analyst** role:

```sql ALTER ROLE Removing Resource Group Example theme={null}
ALTER ROLE analyst
SET RESOURCE GROUP DEFAULT
```


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