Delete Program
Deletes a program using a two-stage pattern: soft delete first, then permanent removal on a second call.
Last updated: April 9, 2026
Delete Program
DELETE /siren/v1/programs/{id}
Uses a two-stage delete pattern:
- First DELETE. If the program’s status is not
deleted, performs a soft delete by settingstatustodeleted. Returns200with the updated record. - Second DELETE. If the program’s status is already
deleted, permanently removes the record from the database. Returns204 No Content.
Error Responses:
404. No record found with that ID.500. Database error.
Events: Broadcasts ProgramActionEvent (action: Delete) after success.