DeleteMemories
Deletes memories by filter attributes. At least one filter attribute must be specified. If no filter attributes are specified, a validation error is returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteMemories |
delete |
*MemoryStore
|
None | None |
Request syntax
DELETE /workspace/{workspace}/memorystore/{memoryStoreName}/memory HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace name. |
default-cms-1793369865235921-cn-shenzhen |
| memoryStoreName |
string |
Yes |
The name of the memory store. |
test-memory-store |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentId |
string |
No |
The agent ID of the application. |
952730733889060865 |
| userId |
string |
No |
The user ID. |
test_user_001 |
| runId |
string |
No |
The run ID. |
jr-dd7c645fd6fe50d4 |
| appId |
string |
No |
The application ID. |
98ea19fe-128b-4841-b318-0359bec3c65d |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
8FDE2569-626B-5176-9844-28877A***** |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.