Delete Obligation
Two-stage deletion pattern: soft delete on first request, permanent removal on second.
Last updated: April 9, 2026
Delete Obligation
DELETE /siren/v1/obligations/{id}
Deletion follows a two-stage pattern. The first DELETE request against an obligation that is not already cancelled 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 already cancelled permanently removes the record from the database and returns 204 No Content.
Error Responses
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.