Delete Obligation
Two-stage deletion pattern: soft delete on first request, permanent removal on second.
Last updated: October 26, 2026
Delete Obligation
DELETE /siren/v1/obligations/{id}
Deletion follows a two-stage pattern. The first DELETE request against an obligation that isn’t already cancelled or deleted performs a soft delete, setting its status to cancelled and returning 200 with the updated record. Sending a second DELETE to an obligation that is cancelled or deleted permanently removes the record from the database and returns 204 No Content.
Error Responses
A 409 is returned on the second DELETE if a payout still includes the obligation. A 404 is returned if no record exists with the given ID. A 500 indicates a database error.
Events
Broadcasts ObligationActionEvent (action: Delete) after success.