Delete draft journal entries in bulk. Provide ids, or explicitly set include to false to delete every draft matching the filters (and every draft outright when no filters are given); an empty body is rejected. Only drafts are deleted; entries that are posted, reconciled, printed, in a closed accounting period, batch-linked, or starting balance/bill entries are skipped without an error. While multi-campus is on, an entry that also belongs to campuses outside the caller's access needs the permission at every campus of its set: explicit ids that include such a draft answer 403 and nothing is deleted; a select-all skips it without an error. An entry available to every campus, which includes one with no campus while multi-org is off, needs a caller with no campus limit and no restriction on that permission: explicit ids that include such a draft answer 403 with every_campus_record_delete_desc (every_campus_organization_record_delete_desc while multi-org is on), and a select-all skips it.
Required permission: Full Write Accounting
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200OK
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
