curl --request PUT \
--url https://apix.us.amity.co/api/v3/channels/{channelId}/users/ban \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userIds": [
"<string>"
]
}
'curl --request PUT \
--url https://apix.us.amity.co/api/v3/channels/{channelId}/users/ban \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userIds": [
"<string>"
]
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Information of channel
1 - 100 elements1 - 50Channels Information
Show child attributes
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.
Show child attributes
Depends on messagePreviewId. if null will be empty array.
Show child attributes
Depends on messagePreviews. if empty array will be empty array.
Show child attributes
Show child attributes
Show child attributes