Siren

Bulk Actions

Perform actions on multiple conversions at once, including approval, rejection, and deletion.

Last updated: April 9, 2026

Bulk Actions

POST /siren/v1/conversions/bulk

Performs an action on multiple conversions at once.

Request Body

FieldTypeRequiredDescription
actionstringYesOne of: approve, reject, markPending, delete, permanent_delete
idsinteger[]YesArray of conversion IDs to act upon

Action Behaviors

ActionEffectEvents
approveSets status to approved via ConversionApproveServiceBroadcasts ConversionApproved per record, which triggers MarkObligationsAsPending to transition the linked obligation from draft to pending
rejectSets status to rejectedBroadcasts ConversionRejected per record, which triggers RejectObligations to transition the linked obligation from draft to rejected
markPendingSets status to pending
deleteSets status to deleted (soft delete)
permanent_deletePermanently removes records from database

Non-existent IDs are silently skipped. Datastore errors on individual records are logged but do not halt processing of remaining IDs.

Example Request

{
  "action": "approve",
  "ids": [1, 2, 3]
}

Example Response

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