Detach a department-to-department relation
Detach a department-to-department relation
Removes the requested academic-year relationship between two school departments when its hierarchy has no dependent descendants.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
year_id
Academic year for the relationship.
first_department_id
First department identifier.
second_department_id
Second department identifier.
main_relation
Relation direction supplied by the structure editor.
Response
The department 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

