> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: wix-groups-backend ## Namespace: roles ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/apis/wix-groups-backend/roles/introduction.md ## Article Content: # Introduction The Roles API provides functionality for assigning and unassigning a role to a group member. > **Note:** This module is only relevant for site admins and group admins. To enable groups backend API functionality for your site, add the [Wix Groups](https://support.wix.com/en/article/wix-groups-adding-and-setting-up-wix-groups) application to your site. The Groups API provides functionality allowing you to: + [Assign](https://dev.wix.com/docs/velo/apis/wix-groups-backend/roles/assign-role.md) roles to members of a group. + [Unassign](https://dev.wix.com/docs/velo/apis/wix-groups-backend/roles/unassign-role.md) roles from members of a group. ### Permissions Information >**Note:** You can override the permissions below by setting the `suppressAuth` option to `true`. |Functions|Permissions |--|---| | `assignRole()`, `unassignRole()`|Site owner, site admin, group admin ```javascript import { roles } from "wix-groups-backend"; ```