在开启审核后,你可以使用 StopDetection 接口关闭审核。

使用说明
接口行为

你可以使用 StopDetection 接口,停止对房间内指定用户发送的内容进行审核。

如果你在房间级审核中发起停止单流审核,会引发错误。

请求说明
请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。

Query
参数类型是否必选示例值描述
ActionString是StopDetection接口名称。当前 API 的名称为 StopDetection。
VersionString是2020-12-01接口版本。当前 API 的版本为 2020-12-01。
Body
参数类型是否必选示例值描述
AppIdString是Your_AppId应用的唯一标志
RoomIdString是Your_RoomId房间 ID,是房间的唯一标志
UserIdString否Your_UserId用户 ID
返回参数

下表仅列出本接口特有的返回参数,公共返回参数请参见返回结构。

参数类型示例值描述
MessageStringsuccess仅在请求成功时返回"success",失败时为空。
请求示例
POST https://rtc.volcengineapi.com?Action=StopDetection&Version=2020-12-01
{
  "AppId": "Your_AppId",
  "RoomId": "Your_RoomId",
  "UserId": "Your_UserId"
}
json
返回示例
{
    "ResponseMetadata": {
        "RequestId": "Your_RequestId",
        "Action": "StopDetection",
        "Version": "2020-12-01",
        "Service": "rtc",
        "Region": "cn-north-1"
    },
    "Result":{
        "Message": "success"
    }
}
json
错误码

您可访问公共错误码,获取更多错误码信息。