Skip to main content
DELETE /memory-collections/{collectionId} Deletes a memory collection and all associated memories.

Code Examples

curl --request DELETE \
  --url 'https://api.tess.im/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"
}