A channel can have one or multiple members. Use this API to remove a member from a chat channel.
Scopes:chat_channel:write:admin Rate Limit Label:Medium Note: For an account-levelOAuth app, this API can only be used on behalf of a user who is assigned with a role that has Edit permission for Chat Channels.
Unique Identifier of the Channel from where you would like to remove a member. This can be retrieved from the List Channels API.
memberId
string
必需
Email address of the member whom you would like to be remove from the channel.
userId
string
必需
Unique identifier of the channel owner.
返回响应
🟢204**HTTP Status Code:** `204` **No Content**<br>
Member removed.
application/json
Body
No schema defined
🟠400**HTTP Status Code:** `400` <br>
Bad Request<br>
**Error Code:** `200`<br>
Unauthorized request. You do not have permission to remove channel members on this user's behalf.<br>
**Error Code:** `5301`<br>
Unable to remove channel member.