> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.schoolset.io/_mcp/server. # School Structure Relations ## API Docs - School Structure Relations [Attach a department to another department](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/attach-department-department-relation.md) - School Structure Relations [Detach a department-to-department relation](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/detach-department-department-relation.md) - School Structure Relations [Attach a department to a grade](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/attach-department-grade-relation.md) - School Structure Relations [Detach a department from a grade](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/detach-department-grade-relation.md) - School Structure Relations [Assign a class to a grade](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/attach-grade-class-relation.md) - School Structure Relations [Unassign a class from a grade](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/detach-grade-class-relation.md) - School Structure Relations [Attach a department to the school](https://docs.schoolset.io/api-reference/school-set-api/school-structure-relations/attach-school-department-relation.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.schoolset.io/openapi.json) - [OpenAPI YAML](https://docs.schoolset.io/openapi.yaml)