Page History
...
Name | Type | Required | Description |
---|---|---|---|
token | String | Yes | Authentication token of the user |
channelId | String | Yes | Id of the channel |
members | Array | Yes | An array of user ids that will be removed from the channel |
Response
...
Errors
An object where the keys are user ids of members that were removed and the values are ChannelMemberStatus objects, indicating whether the members were successfully removed or not.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"members": {
"u:<id1>": { "status": "removed" },
"u:<id2>": { "status": "failed", "error": "UserNotFound" }
}
} |