Skip to main content

Overview

Removes bans from chatroom members.

Request

Authentication: Add authentication headers to the request. See Authentication.

Method: POST

Rate limit: 100 requests/second

Endpoint: https://API domain/apigateway/chatrooms/banmembers/del

Content-Type: application/json

Request Parameters

ParameterData TypeRequiredDescription
chat_idstringYesChatroom ID. Maximum length: 32 characters.
member_idsarrayYesIDs of the chatroom members to unban. Each user ID can contain up to 32 characters.

Request Example

POST /apigateway/chatrooms/banmembers/del HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json

{
"chat_id":"chatroom1",
"member_ids":["member1","member2"]
}

Response Example

{
"code":0,
"msg":"sucess"
}