Move a school structure node

Moves an existing academic-year structure node beneath another node and returns the refreshed tree after saving.

Authentication

AuthorizationBearer

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

Path parameters

yearIdintegerRequired>=1
Academic year containing the node.
nodeIdintegerRequired>=1
Structure node to move.

Request

This endpoint expects an object.
new_parent_idintegerRequired>=1

Response

The node was moved and the refreshed school structure tree was returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error