All Products
Search
Document Center

Tablestore:Delete a memory store

Last Updated:Sep 24, 2026

Use the DeleteMemoryStore operation to delete a memory store.

Prerequisites

  • An AgentStorage instance has been created and is in the normal state, and the instance endpoint and instance name have been obtained.

  • An API Key has been created.

Request parameters

Field

Type

Required

Description

memoryStoreName

string

Yes

The name of the memory store.

Request example

When you authenticate with an API Key, pass the instance name and API Key in the x-ots-instancename and x-ots-apikey request headers.

curl -X POST https://<endpoint>/DeleteMemoryStore \
  -H "x-ots-instancename: <instance-name>" \
  -H "x-ots-apikey: <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{"memoryStoreName":"agent_memory"}'

Response

{"code":"SUCCESS","data":{},"message":"succeed"}