Siren

Bulk Actions: Obligations

Perform an action on multiple obligations at once, including approve, reject, and delete.

Last updated: October 26, 2026

Bulk Actions

POST /siren/v1/obligations/bulk

Performs an action on multiple obligations at once.

Request Body

FieldTypeRequiredDescription
actionstringYesOne of: approve, reject, markComplete, restore, delete, permanent_delete
idsinteger[]YesArray of obligation IDs to act upon

Action Behaviors

ActionStatus SetAuth Required
approveapproved, for a draft or rejected obligation that isn’t in a payout. Others are left as they are.Update
rejectrejected, for any status. A complete obligation stays in its payoutUpdate
markCompletecompleteUpdate
restoreapproved for a deleted obligation, or complete if it’s in a payoutUpdate
deletedeleted (soft delete, restorable)Delete
permanent_delete(record removed) for a deleted or cancelled obligation that no payout includesDelete

Non-existent IDs are silently skipped. Datastore errors on individual records are logged but do not halt processing. permanent_delete is all or nothing: if any obligation in the request isn’t in the Trash (deleted or cancelled), or a payout includes it, nothing is deleted and the request returns 409.

Example Request

{
  "action": "markComplete",
  "ids": [10, 11, 12]
}

Example Response

{
  "success": true,
  "affected": 3
}

Statuses

See Obligations for every obligation status and how an obligation moves between them.

Your privacy choices

Account, checkout and chat you request work without optional tracking. Choose whether to allow these other uses on this website.

You can change or withdraw your choices at any time using “Privacy choices.” We remember your choice for 180 days. Read our privacy policy.