Channel

软删除并归档 Channel,停止连接、后续消息处理和发送,清除渠道凭据。删除是解除接入,不是暂停;不提供恢复此 Channel 的操作。

delete/agent/forward/v0/channels/{channelId}

Request

  • Base URL
    https://agent-api.bigmodel.cn/api
  • Auth
    HTTP bearer

Path parameters

channelIdstring required

channelId 资源标识。

Headers

zai-version'2026-05-26' required
Example:2026-05-26

Channel API v0 基础协议标识,固定为 2026-05-26。

zai-betastring required
Example:managed-agents-2026-05-26

可有多个逗号分隔值,但必须包含 managed-agents-2026-05-26。

Response

请求成功。

idstring required
deletedtrue required

Example response

{
  "id": "channel_xxx",
  "deleted": true
}

Changes