Delete selected transactions

POST /api/v1/transactions/batch/delete

Permanently delete manual/bulk-uploaded transactions, hard-delete Plaid transactions on the Teal engine (via Teal API), or soft-delete (hide) Plaid transactions on the DayZero local engine, by explicit IDs.

Operation ID: bulk_delete_transactions_api_v1_transactions_batch_delete_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

transaction_ids array · string required

Array of transaction UUIDs to delete or hide.

Responses

201 Successful Response

deleted integer

Manual/bulk-upload rows permanently removed.

hidden integer

Plaid rows soft-deleted (hidden) on the local engine.

failed array · TransactionBulkDeleteFailure TransactionBulkDeleteFailure

Rows that could not be deleted, with reasons.

2 fields
transaction_id string required

Transaction UUID that failed.

message string required

Human-readable failure reason.

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object