Update Obligation
Updates an existing obligation record. Only provided fields are changed.
Last updated: October 26, 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
| Field | Type | Required | Description |
|---|---|---|---|
collaboratorId | integer | No | Updated collaborator ID (must exist) |
status | string | No | Updated status: draft, approved, rejected, complete, deleted, or cancelled |
awardType | string | No | Updated currency code the reward is owed in |
value | integer | No | Updated value at the currency’s stored scale. It can’t pass the currency’s limit, as Maximum amounts describes |
payoutId | integer | No | Updated payout ID |
Middleware
RecordExistsMiddleware verifies the obligation exists before the update proceeds. CollaboratorAliasResolverMiddleware resolves collaborator aliases.
Example Request
{
"status": "complete",
"payoutId": 7
}
Events
Broadcasts ObligationActionEvent (action: Update) after success.