deleteTransaction

deleteTransaction — deletes a transaction by ID.

Authentication: required

deleteTransaction — deletes a transaction by ID.

The authenticated user must be the owner or collaborator of the account the
transaction belongs to, and must have an OWNER or COOWNER role if a role is
assigned to their credentials.

Authentication: Required (Bearer token)

Parameters:
- transactionId (string, required): ID of the transaction to delete

Returns:
- message (string): Always "ok" on success

Errors:
- unauthenticated: No valid auth token provided
- permission_denied: User is not allowed to delete this transaction
- invalid_params: transactionId missing, transaction not found, or account not found