Delete a student of the family
DELETE/api/family/student/:id
Logical deletion of one of the caller's students: past orders, lessons and documents are kept. Refused while the student still has upcoming lessons (booked, paid, free, awaiting a modification answer, or cancelled by the teacher and not yet resolved): they must be cancelled first.
Request
Responses
- 200
- 400
- 401
- 403
Deleted
Not a student of the caller's family, or the student still has upcoming lessons
Unauthorized
Only the family's guardian