API (student) : DELETE /promotions/{idPromo} #17

Closed
opened 2026-03-30 10:09:58 +00:00 by djalim · 0 comments
Collaborator

Fonctionnalité a ajouter :
Supprimer une promotion de la base de données.
Accessible uniquement par un administrateur.

Route :
DELETE /promotions/{idPromo}

Paramètres path :

Paramètre Type Description
idPromo string Identifiant de la promo

Exemples

DELETE /promotions/JIA4A2526

Réponse 204 : (pas de contenu)

Réponse 404 :

{
  "error": "Ressource introuvable"
}

**Fonctionnalité a ajouter :** Supprimer une promotion de la base de données. Accessible uniquement par un administrateur. **Route :** `DELETE /promotions/{idPromo}` **Paramètres path :** | Paramètre | Type | Description | |-----------|--------|--------------------------| | idPromo | string | Identifiant de la promo | **Exemples** `DELETE /promotions/JIA4A2526` **Réponse 204 :** _(pas de contenu)_ **Réponse 404 :** ```json { "error": "Ressource introuvable" } ``` ---
djalim added this to the Module Managment project 2026-03-31 11:32:44 +00:00
djalim moved this to Project Backlog in Module Managment on 2026-03-31 11:33:05 +00:00
djalim changed title from API : DELETE /promotions/{idPromo} to API (prof) : DELETE /promotions/{idPromo} 2026-03-31 11:57:31 +00:00
djalim changed title from API (prof) : DELETE /promotions/{idPromo} to API (student) : DELETE /promotions/{idPromo} 2026-03-31 11:58:00 +00:00
anys moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:26:52 +00:00
anys moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:40:13 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:42:43 +00:00
djalim self-assigned this 2026-04-22 12:57:07 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#17