Skip to main content

Delete Memory Collection

DELETE /api/memory-collections/{collectionId}

Deletes a memory collection and all associated memories.

Code Examples

curl --request DELETE \
--url 'https://tess.pareto.io/api/memory-collections/{collectionId}' \
--header 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

ParameterTypeRequiredDescription
collectionIdintegerYesCollection ID

Response

{
"message": "Collection deleted successfully"
}

Error Responses

Collection not found (404)

{
"message": "Collection not found"
}

Cannot delete default collection (403)

{
"message": "Default collection cannot be deleted"
}

Try it out!

Authentication

This endpoint requires Bearer token authentication.

Test Endpoint