Skip to main content
DELETE /memories/{memoryId} Deletes an existing memory.

Code Examples

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