Skip to main content
This feature has been deprecated. Please use Role Based Access Control (RBAC) instead.
Features can be restricted based on role.
The following table indicates the endpoints that can be restricted for a given role.
FeatureKeyDescription
Add MemberaddMemberAllows logged-in user to add a member to a group.
Ban UserbanAllows logged-in user to ban a member in a group. The operation can only be performed if the logged-in user is owner/admin/moderator of a group.
Block UserblockUserAllows logged-in user to block a user.
Change ScopechangeScopeAllows logged-in user to change the scope of a member in a group. The operation can only be performed if the logged-in user is owner/admin/moderator of a group.
Initiate CallcreateCallAllows logged-in user to initiate a call.
Create GroupcreateGroupAllows logged-in user to create a group.
Send MessagecreateMessageAllows logged-in user to send a message.
Reply to a MessagecreateMessageThreadAllows logged-in user to block a user.
Delete CalldeleteCallAllows logged-in user to delete a call.
Delete ConversationdeleteConversationForUserAllows logged-in user to delete a conversation for himself.
Delete GroupdeleteGroupAllows logged-in user to delete a group.
Delete Group MessagesdeleteGroupMessagesAllows logged-in user to delete messages in a group.
Delete MessagedeleteMessageAllows logged-in user to delete a message.
Fetch Blocked UsersgetBlockedUsersAllows logged-in user to fetch the list of blocked users.
Get CallgetCallAllows logged-in user to fetch the details of a call.
Get ConversationgetConversationAllows logged-in user to get the details of a conversation.
Get GroupgetGroupAllows logged-in user to get the details of a group.
List Group MessagesgetGroupMessagesAllows logged-in user to fetch messages in a group.
Get MembergetMemberAllows logged-in user to get details of a member in a group.
Get MessagegetMessageAllows logged-in user to get the details of a message.
Get My DetailsgetMyDetailsAllows logged-in user to fetch his own details.
Get UsergetUserAllows logged-in user to fetch the details of any other user.
List User MessagesgetUserMessagesAllows logged-in user to fetch messages sent/received from another user.
Join GroupjoinGroupAllows logged-in user to join a group.
Kick MemberkickMemberAllows logged-in user to kick a member from the group. The operation can only be performed if the logged-in user is owner/admin/moderator of a group.
Leave GroupleaveGroupAllows logged-in user to leave a group.
List Banned UserslistBannedUsersAllows logged-in user to fetch the banned members in a group.
List CallslistCallsAllows logged-in user to fetch the call list.
List ConversationslistConversationsAllows logged-in user to fetch the conversation list.
List Group MemberslistGroupMembersAllows logged-in user to fetch the members list for a group.
List GroupslistGroupsAllows logged-in user to fetch the group list.
List MessageslistMessagesAllows logged-in user to fetch all the messages sent by/for him.
List SettingslistSettingsAllows logged-in user to fetch the settings.
List Threaded MessageslistThreadedMessagesAllows logged-in user to fetch all the replies for a message.
List UserslistUsersAllows logged-in user to fetch the user list.
LogoutlogoutAllows logged-in user to logout.
Group Mass OperationmassMemberOperateAllows logged-in user to manage multiple group members with a single API call. The operation can only be performed if the logged-in user is owner/admin of a group.
Patch OwnerpatchOwnerAllows logged-in user to transfer the ownership of a group. The operation can only be performed if the logged-in user is owner of a group.
unban UserunbanAllows logged-in user to unban a member. The operation can only be performed if the logged-in user is owner/admin/moderator of a group.
Unblock UserunblockUserAllows logged-in user to unblock a user.
Updates AuthTokenupdateAuthTokenAllows logged-in user to update his own details and authtoken details.
Update CallupdateCallAllows logged-in user to change the status of initiated/ongoing call.
Edit GroupupdateGroupAllows logged-in user to edit group details. The operation can only be performed if the logged-in user is owner/admin/moderator of a group.
Edit MessageupdateMessageAllows logged-in user to edit a message. The message can only be edited if the logged-in user is the sender of the message or moderator/admin of a group.
The following table lists the properties that the Restrict feature API supports.
ParametersTypeDescription
featuresToRestrictarray of strings(optional) Indicates the features that needs to be restricted.