Skip to main content
Memory Fragments

Delete Memory

Delete a specified memory fragment

DELETE
/memory_nodes/{memory_node_id}
cURL
curl --request DELETE \
  --url 'https://dashscope.aliyuncs.com/api/v2/apps/memory/memory_nodes/{memory_node_id}' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
Deletes the specified memory fragment entry. Deletion is irreversible.
Deletion is irreversible. Proceed with caution.

Request parameters

ParameterTypeRequiredDescription
memory_node_idstringYesMemory node ID (path parameter)

Code examples

curl -X DELETE "https://dashscope.aliyuncs.com/api/v2/apps/memory/memory_nodes/{memory_node_id}" \
  --header "Authorization: Bearer $DASHSCOPE_API_KEY" \
  --header "Content-Type: application/json"
For user profile APIs, see CreateProfileSchema.

Authorizations

string
header
required

Path Parameters

string
required

记忆节点 ID

Response

200-成功

成功

Overview
Managed Agent API
Sandbox API
Flow Agent API
RAG API
Connector API
Framework Integration
Assistant API (Deprecating)
  • Overview