直播 /removeAssistant # liveBroadcast.removeAssistant > 本接口应在服务器端调用,详细说明参见[服务端API](https://developers.weixin.qq.com/miniprogram/dev/framework/server-ability/backend-api.html)。 > 本接口支持[云调用](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/openapi/openapi.html)。需开发者工具版本 >= `1.02.1904090`(最新[稳定版下载](https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html)),`wx-server-sdk` >= `0.4.0` 删除管理直播间小助手 ### 说明 小程序直播文档:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html 对应接口 `https://api.weixin.qq.com/wxaapi/broadcast/room/removeassistant` ### 云调用使用说明 外链文档中可能只有 HTTP 形式的定义,对云调用方式,调用时参数与 HTTP 需求的参数一致,但是无需传入 `access_token`,同时所有的参数无论 get/post 都只需作为接口参数 JS 对象中的一个字段传入即可。 而对于 FormData 的请求,如果一个参数的类型是 Buffer,则其字段应传入有如下字段的对象: | 属性 | 类型 | 默认值 | 必填 | 说明 | | :---------- | :----- | :----- | :--- | :----------------------- | | contentType | string | | 是 | 数据类型,传入 MIME Type | | value | Buffer | | 是 | 文件 Buffer | **示例** 假设外链文档要求是 POST 方法,要求传入如下参数 | 属性 | 类型 | 位置 | 说明 | | :--- | :----- | :-------- | :--- | | xxx | string | URL 参数 | ... | | yyy | number | JSON body | ... | 则调用示例如下: ```js cloud.openapi.liveBroadcast.removeAssistant({ xxx: '字符串', yyy: 100, }) ``` 假设外链文档要求是 POST FormData,要求传入如下参数 | 属性 | 类型 | 位置 | 说明 | | :---- | :----- | :------- | :---------- | | xxx | string | URL 参数 | ... | | media | buffer | FormData | 图片 buffer | 则调用示例如下: ```js cloud.openapi.liveBroadcast.removeAssistant({ xxx: '字符串', media: { contentType: 'image/png', value: Buffer }, }) ```