Community Moderation
Adding and removing community members can be done using the functions addCommunityMembers and removeCommunityMembers respectively. These functions accept an array of strings as an argument that contains the user IDs of the members that you want to add or remove.

Add Members

Add Community Member

Remove Members

Remove Community Member
You can also add or remove roles using addCommunityMembersRoles or removeCommunityMembersRoles functions respectively. These functions accept an array of strings as an argument that contains the roles that you want to add or remove from a specific user.

Add Roles

Add Community Member Role

Remove Roles

Remove Community Member Role
You can add or remove default roles as well as custom roles.

Amity Channels provides a way to moderate the channel by banning or unbanning users. banChannelMembers and unbanChannelMembers methods accept an array of user ids to ban and unban respectively.

Ban Users

Ban Users

Un-ban Users

Un-ban Users

Export as PDF
Copy link
Outline
Add Members
Remove Members
Add Roles
Remove Roles
Ban Users
Un-ban Users