Endpoint
Authentication
This endpoint requires authentication via Bearer token.Path Parameters
Entry ID (MongoDB ObjectId - 24 hexadecimal characters)
Response
Indicates if the deletion was successful
Examples
Delete a diary entry
Delete with error handling
Error Responses
Entry not found
Status: 404Unauthorized (not the entry owner)
Status: 403Not authenticated
Status: 401Invalid entry ID format
Status: 400Notes
- This action is permanent and cannot be undone
- You can only delete entries that belong to your user account
- Deleting an entry will also affect:
- Daily summaries and statistics
- Monthly calendar views
- Symptoms overview and trends
- Problematic food correlations (if the entry was involved in identifying triggers)
- Make sure to confirm the deletion action in your application UI before calling this endpoint