Detach a department from a grade
Removes the requested academic-year relationship between a school department and grade when no descendants prevent detachment.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
year_id
Academic year for the relationship.
department_id
Department identifier.
grade_id
Grade identifier.
main_relation
Relation direction supplied by the structure editor.
Response
The department-grade relationship was detached and the updated structure tree was returned.
status
message
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error

