Rocket.Chat's comprehensive role-based system allows administrators to assign roles, each with a specific set of permissions, to control user actions and access levels within the workspace. Using the Roles API endpoints, you can:
Assign predefined or custom roles (e.g., Administrator, Moderator, Guest).
Update roles to control access to features and settings.
View roles and associated information.
Refer to the Roles user guide for details on this feature.