DELETE /api/v1/forward/channel_pairings/{pairing_id}
请求头
路径参数
示例请求
示例响应
HTTP 200 OK响应字段
错误码
注意事项
- 即使 Pairing 不存在或已被移除,也会返回
deleted=true。 - 解除配对后,该会话范围内的下一条消息将触发新的 Pairing Code。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
解除 Channel 会话范围与其 Identity 的配对关系。
DELETE /api/v1/forward/channel_pairings/{pairing_id}
| Header | 是否必填 | 说明 |
|---|---|---|
Authorization | 是 | Bearer <PAT> |
| 参数 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
pairing_id | string | 是 | 配对接口返回的 Pairing ID。 |
curl -s -X DELETE 'https://api.qoder.com/api/v1/forward/channel_pairings/pair_019eabc123' \
-H "Authorization: Bearer $QODER_PAT"
{
"id": "pair_019eabc123",
"deleted": true
}
| 字段 | 类型 | 说明 |
|---|---|---|
id | string | Pairing ID。 |
deleted | boolean | 成功解除时为 true。 |
| HTTP | Type | 触发条件 |
|---|---|---|
| 401 | authentication_error | PAT 无效或已过期。 |
deleted=true。