Siren

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:

  1. First DELETE. If the program’s status is not deleted, performs a soft delete by setting status to deleted. Returns 200 with the updated record.
  2. Second DELETE. If the program’s status is already deleted, permanently removes the record from the database. Returns 204 No Content.

Error Responses:

  • 404. No record found with that ID.
  • 500. Database error.

Events: Broadcasts ProgramActionEvent (action: Delete) after success.