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}/memories/{memory_id}
指定されたメモリエントリを削除します。削除操作は action: "deleted" のバージョンレコードを生成します。
パスパラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|
memory_store_id | string | はい | Memory Store ID(memstore_ プレフィックス) |
memory_id | string | はい | メモリエントリ ID(mem_ プレフィックス) |
ヘッダー
| ヘッダー | 値 | 必須 |
|---|
| Authorization | Bearer $QODER_PAT | はい |
リクエスト例
curl -X DELETE "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_xxx/memories/mem_xxx" \
-H "Authorization: Bearer $QODER_PAT"
レスポンス例
HTTP 204 No Content
レスポンスボディなし。削除成功。
エラーレスポンス
| HTTP | type | 説明 |
|---|
| 401 | TOKEN_INVALID | 認証トークンが提供されていないまたは無効 |
| 404 | not_found_error | 指定の Memory Store またはメモリエントリが存在しない |
注意事項
- 削除操作は HTTP 204 No Content を返します
- 削除は
action: "deleted" のバージョンレコードを生成します(バージョン一覧 API で確認可能)
- 削除後は取得 API でこのエントリにアクセスできません
- 削除レコードでは
content_sha256 は空文字列、size は 0 です