200Successful Response
Schema: SuccessEnvelope_TransactionDateRangeDeleteResponse_
successbooleanmessagestringcodestringdataTransactionDateRangeDeleteResponse
/api/v1/transactions/by-date-rangePermanently delete every transaction for the current business whose date falls between start_date and end_date (inclusive). Journal entries that become orphaned are deleted along with their line entries, and for businesses still backed by the legacy Teal engine the matching Teal transactions and journal entries are removed remotely as well. This action is irreversible.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
start_datestring · daterequiredInclusive start date (YYYY-MM-DD). Transactions on or after this date are deleted.
end_datestring · daterequiredInclusive end date (YYYY-MM-DD). Transactions on or before this date are deleted.
ledger_idstringOptional ledger ID to restrict the deletion to a single bank account.
Schema: SuccessEnvelope_TransactionDateRangeDeleteResponse_
successbooleanmessagestringcodestringdataTransactionDateRangeDeleteResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject