Skip to main content
DELETE
Remove role from channel users

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

channelId
string
required

Query Parameters

userIds
string[]

list of user id

Required array length: 1 - 100 elements
Required string length: 1 - 50
role
string

User id for revocation

Required string length: 1 - 900

Response

Channels Information

channels
object[]
channelUsers
object[]

List of users in channel with membership and role. Normally, it will return only caller as user. However, it will return all users in conversation channel. For ban/unban events, it will return banned users.

messagePreviews
object[]

Depends on messagePreviewId. if null will be empty array.

messageFeedsInfo
object[]

Depends on messagePreviews. if empty array will be empty array.

users
object[]
files
object[]