Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /v1/memory_stores/{memory_store_id}
永久删除一个 Memory Store 及其所有记忆条目。
请求头
| 头部 | 必选 | 说明 |
|---|
Authorization | 是 | Bearer <PAT> |
路径参数
| 参数 | 类型 | 必选 | 说明 |
|---|
memory_store_id | string | 是 | Memory Store ID(memstore_ 前缀) |
示例请求
curl -X DELETE "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_019e3bb8d50674d9b082b73709c29c87" \
-H "Authorization: Bearer $QODER_PAT"
示例响应
HTTP 204 No Content
无响应体。删除成功。
错误码
| HTTP | type | 触发条件 |
|---|
| 401 | authentication_error | 未提供或无效的认证令牌 |
| 404 | not_found_error | 指定 ID 的 Memory Store 不存在 |
注意事项
- 删除操作不可逆
- 会同时删除该 Store 下的所有记忆条目和版本记录
- 无论 Store 当前状态(
active / archived),均可直接删除
- 删除成功返回 HTTP 204 无内容
完整错误信封说明详见 错误参考。