Detach a department from an academic year

Removes the school department relation for the academic year when it has no descendants in that year.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

year_idintegerRequired
department_idintegerRequired

Response

Department relation detached and the refreshed structure tree returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error