Siren

Update Obligation

Updates an existing obligation record. Only provided fields are changed.

Last updated: April 9, 2026

Update Obligation

PUT /siren/v1/obligations/{id}

Updates an existing obligation. Only provided fields are changed. The record must exist (enforced by RecordExistsMiddleware).

Request Body

FieldTypeRequiredDescription
collaboratorIdintegerNoUpdated collaborator ID (must exist)
statusstringNoUpdated status: pending, fulfilled, or cancelled
awardTypestringNoUpdated award type
valueintegerNoUpdated value
payoutIdintegerNoUpdated payout ID

Middleware

RecordExistsMiddleware verifies the obligation exists before the update proceeds. CollaboratorAliasResolverMiddleware resolves collaborator aliases.

Example Request

{
  "status": "fulfilled",
  "payoutId": 7
}

Events

Broadcasts ObligationActionEvent (action: Update) after success.