Loki Docs
Tools › Transactions › Delete a transaction

Delete a transaction

delete_transactionChanges
What it does
Changes or deletes something you had. Your assistant can ask you to confirm first. Safe to retry: the same call twice changes nothing more.
Permission
Transactions, change transactions:write

What your assistant is told

Permanently delete one transaction the user logged — use when they say "remove/delete that transaction" or it was logged in error. transaction_id is the transaction's UUID (from get_transactions_in_range). This cannot be undone; confirm with the user first. Returns the deleted id. To CORRECT a transaction (wrong amount/category/date) instead of removing it, use update_transaction.

Parameters

  • transactionIdid, requiredUUID of the transaction to delete. Use get_transactions_in_range to find it.