Pocro Vento Documentation

Backend: Delete BTC certificiranje

GitHub Issue: #254

Last modified with commit 7a580a0 on by Aljaž.

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

Docs: BTC certificiranje list (Actions menu → Ukloni certificiranje, Delete confirmation modal) Spec: DELETE /btc-certifications/{certificationId} (deleteBtcCertification), BtcCertificationConflict in api-docs/openapi.yaml DB: BtcCertifications (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 certificiranje, and it disappears everywhere in the app while its data stays in the database.