Attach a department to the school

Creates the selected academic-year relationship between the active school and department and returns the updated structure tree.

Authentication

AuthorizationBearer

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

Path parameters

year_idintegerRequired>=1
Academic year for the relationship.
department_idintegerRequired>=1
Department to attach to the school.

Response

The school-department relationship was attached and the updated structure tree was returned.

statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error