# 停止实时转录翻译 (/zh-CN/api-reference/api-ref/speech-to-text/leave) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). 停止实时转录翻译任务并离开频道。 - OpenAPI: /openapi/speech-to-text/v7.zh-CN.yaml - Operation ID: leave - Method: POST - Path: /api/speech-to-text/v1/projects/{appid}/agents/{agentId}/leave - Endpoint: https://api.sd-rtn.com/cn/api/speech-to-text/v1/projects/{appid}/agents/{agentId}/leave ## Servers - https://api.sd-rtn.com/cn 开始实时转录翻译后,你可以调用 `leave` 方法离开频道,停止转写。 ## Authorization This endpoint requires authentication. - `Basic Auth` ## Parameters - `appid` (path, required, string) - 你的项目的 App ID,可在[声网控制台](https://console.shengwang.cn/)获取。 - `agentId` (path, required, string) - 服务的 ID。通过 [`join`](./join) 方法中的响应包体获取。 ## Request body No request body. ## Responses ### 200 如果返回的状态码为 `200`,表示请求成功。 No schema. ### default 如果返回的状态码不为 `200`,请求失败。 No schema.