メインコンテンツへスキップ

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_idstringはいMemory Store ID(memstore_ プレフィックス)
memory_idstringはいメモリエントリ ID(mem_ プレフィックス)

ヘッダー

ヘッダー必須
AuthorizationBearer $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 レスポンスボディなし。削除成功。

エラーレスポンス

HTTPtype説明
401TOKEN_INVALID認証トークンが提供されていないまたは無効
404not_found_error指定の Memory Store またはメモリエントリが存在しない

注意事項

  • 削除操作は HTTP 204 No Content を返します
  • 削除は action: "deleted" のバージョンレコードを生成します(バージョン一覧 API で確認可能)
  • 削除後は取得 API でこのエントリにアクセスできません
  • 削除レコードでは content_sha256 は空文字列、size は 0 です