Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/akevalion/life_cost/llms.txt

Use this file to discover all available pages before exploring further.

Permanently delete a MoneyTransfer record and all Tag records linked to it. The deletion is cascaded in two steps: first all Tag rows whose money_transfer_id matches are deleted, then the MoneyTransfer itself is removed. This operation is irreversible.
This endpoint does NOT require authentication in the current implementation. The @login_required decorator is absent from the route definition in index.py, which means any unauthenticated HTTP client that can reach the server can delete any transfer by ID. Treat this as a known security gap until authentication is added.

Endpoint

DELETE /remove_money/<id>

Authentication

Not enforced. No session cookie is required by the current server implementation. See the warning above.

Path Parameters

id
integer
required
The unique integer ID of the MoneyTransfer to delete.

Response

message
string
"MoneyTransfer removed successfully" on success.

Example Request

curl -X DELETE https://your-app.example.com/remove_money/42

Example Response

{
  "message": "MoneyTransfer removed successfully"
}

Error Cases

StatusCondition
404 Not FoundNo MoneyTransfer record exists with the given id. Flask returns a standard 404 response via get_or_404.
500 Internal Server ErrorA database error occurred while deleting the tags or the transfer.

Build docs developers (and LLMs) love