注册

为什么IM服务端api -聊天室管理里没有聊天室拉黑的api

已邀请:

1、获取聊天室黑名单列表,GET:

http://a1.easemob.com/{orgName}/{appName}/chatrooms/{roomId}/blocks/users

2、添加聊天室黑名单(批量),POST:

Content type:
application/json

body:

{
"usernames": [
"wzy_google"
],
"duration": 100
}

http://a1.easemob.com/{orgName}/{appName}/chatrooms/{roomId}/blocks/users

3、添加聊天室黑名单(单个),POST:

Content type:
application/json

http://a1.easemob.com/{orgName}/{appName}/chatrooms/{roomId}/blocks/users/{username}

4、移出聊天室黑名单,DELETE:

Content type:
application/json

http://a1.easemob.com/{orgName}/{appName}/chatrooms/{roomId}/blocks/users/{username}

要回复问题请先登录注册