Deletes a Ledger and optionally its associated journal entries. By default, ledgers with line entries cannot be deleted. Set delete_journal_entries=true to delete the ledger along with: - All journal entries that have line entries on this ledger - All line entries in those journal entries - All reconciliations for this ledger - The source account (if not linked to Plaid/QuickBooks) - Historical ledger balances Note: This operation is irreversible. Special ledgers (e.g., uncategorized inflow/outflow) cannot be deleted.
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID
The ledger ID
Whether to delete journal entries associated with this ledger. When true, deletes all journal entries containing line entries on this ledger, along with reconciliations and the source account. This operation is irreversible.
Successful Response