Update theDocumentation 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.
amount, description, and tags of an existing MoneyTransfer record. The update is performed atomically: all Tag records currently linked to the transfer are deleted first, and then a fresh set of Tag records is created from the tags array you supply. This means every edit is a full replacement of the tag list — partial updates are not supported.
Endpoint
Authentication
Not enforced. The@login_required decorator is absent from this route in index.py. No session cookie is required by the current implementation.
Request Body
Send a JSON object with the following fields.The unique ID of the
MoneyTransfer to update.The new transfer amount. Negative values represent expenses; positive values represent income.
The new description for the transfer (max 200 characters).
The complete replacement list of tag name strings. All existing tags for this transfer are removed and this array is used to recreate them from scratch. Pass
[] to remove all tags without adding new ones.Response
"MoneyTransfer edited successfully" on success.An error message string. Present on
404 ("MoneyTransfer not found") or 500 (database exception message).Example Request
Example Request Body
Example Response
Error Cases
| Status | Body | Condition |
|---|---|---|
404 Not Found | {"error": "MoneyTransfer not found"} | No transfer exists with the given id. |
500 Internal Server Error | {"error": "<exception message>"} | A database error occurred; the session is rolled back automatically. |