Pocro Vento Documentation

Backend: Delete BTC školovanje

Last modified with commit 374306c on by Aljaž.

Backend task for deleting a BTC školovanje (DELETE /btc-trainings/{trainingId}) – soft delete, check permissions and the upcoming-only rule, implement, and verify against the spec.

Docs: BTC školovanje list (Actions menu → Ukloni školovanje, Delete confirmation modal) Spec: DELETE /btc-trainings/{trainingId} (deleteBtcTraining), BtcTrainingConflict in api-docs/openapi.yaml DB: BtcTrainings (DeletedAt) in api/database/create_schema.sql

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A trainer can delete an upcoming školovanje, and it disappears everywhere in the app while its data stays in the database.