cURL
curl --request DELETE \ --url https://www.memoryplugin.com/api/chat-history/chats \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ids": [ "<string>" ] } '
{ "deleted": [ "<string>" ], "count": 123 }
Delete one or more conversations and their associated data (messages, chunks, vectors).
curl -X DELETE https://www.memoryplugin.com/api/chat-history/chats \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "ids": ["conv-id-1", "conv-id-2"] }'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Array of conversation IDs to delete.
Conversations deleted
IDs of successfully deleted conversations.
Number of conversations deleted.
Was this page helpful?