Skip to main content
Use community moderation APIs for role assignment, ban management, and permission checks. Role IDs must already exist in your network; these APIs assign or remove roles from users, but they do not create roles.

Parameters

Role Management

TypeScript, iOS, and Android accept a list of role IDs. Flutter exposes addRole() and removeRole() for one role ID per call.

Add Roles

Add role IDs to one or more users after the roles already exist in your network.

Remove Roles

Remove role IDs from one or more users when they should no longer have that community role.

Ban Members

Use banMembers() / banMember() to ban users from a community.

Unban Members

Use unbanMembers() / unbanMember() to remove community bans.

Check Permissions

Permission checks use the current user’s cached permission state. Query the relevant community/member state before relying on the result for UI decisions.

Member Management

Add and remove community members

Join / Leave Community

User-initiated joining, leaving, and approval workflows

Query Community Members

Search and filter community member lists

Community Invitation

Invitation-based member onboarding workflows