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 application to your site.

The Groups API provides functionality allowing you to:

Permissions Information

Note: You can override the permissions below by setting the suppressAuth option to true.

assignRole(), unassignRole()Site owner, site admin, group admin
import { roles } from "wix-groups-backend";
javascript | Copy Code

Was this helpful?