Last Updated: Dec 28, 2022
Use this function to remove users from the given channel.
Remove From Channel (token, channel_id, user_id)
Input Parameter Name | Description |
---|---|
token | Authentication token |
channel_id | ID of the channel to remove the user |
user_id | ID of the user to be removed from the channel |
- To know more about token, click here.
- To view the Channel ID, right click on the channel name in the left menu and select Copy link in Slack. Paste in a text editor, the URL is of the format: https://<Slack URL>/<Channel ID>.
- To view the User ID, navigate to the user's profile, click the more icon and choose Copy member ID.
Return Value | Description |
---|---|
Output |
|
Remove From Channel (xoxp-12QWERT, ABC123, PPL223)
To view all the Slack functions, click here.