Delete a memory store
DELETE/v1/memory_stores/{memory_store_id}
Delete a memory store
Parameters
Returns
Delete a memory store
package main
import (
"context"
"fmt"
"github.com/anthropics/anthropic-sdk-go"
"github.com/anthropics/anthropic-sdk-go/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
betaManagedAgentsDeletedMemoryStore, err := client.Beta.MemoryStores.Delete(
context.TODO(),
"memory_store_id",
anthropic.BetaMemoryStoreDeleteParams{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", betaManagedAgentsDeletedMemoryStore.ID)
}Response 200
{
"id": "id",
"type": "memory_store_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "memory_store_deleted"
}