Documentation Index
Fetch the complete documentation index at: https://mintlify.com/miikorz/DailyNews/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /feed/:id permanently removes a news feed item from MongoDB. The server uses findByIdAndDelete to atomically locate and remove the document. If the document existed and was deleted, the response carries HTTP 204 with a "Feed deleted successfully" confirmation string in data. If no document matches the provided id, the server returns 404 NOT_FOUND.
Endpoint
Path Parameters
The MongoDB ObjectId of the feed item to delete (e.g.
664a1f2e8b3c2a001e4d7f01).Response
The string
"Feed deleted successfully" on a successful deletion.Always
null on a successful 204 response.Example Request
Example Response
Error Responses
404 — Feed item not found:Status Codes
| Code | Meaning |
|---|---|
204 | Feed item deleted successfully |
404 | No feed item exists with the provided ObjectId |
500 | An unexpected server error occurred |