Skip to main content

Delete Memory

DELETE /api/memories/{memoryId}

Deletes an existing memory.

Code Examples

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

Path Parameters

ParameterTypeRequiredDescription
memoryIdintegerYesID of the memory

Response

{
"message": "Memory deleted successfully!"
}

Response Codes

Status CodeDescription
200Success
404Memory not found
500Server error

Error Responses

404 Not Found

{
"message": "Memory not found!"
}

500 Server Error

{
"message": "Memory deletion failed!",
"error": "Error message details"
}

Try it out!

Authentication

This endpoint requires Bearer token authentication.

Test Endpoint