Update a school department

Updates the supplied settings for one department in the active school.

Authentication

AuthorizationBearer

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

Path parameters

idintegerRequired
Numeric identifier of the department to update.

Request

This endpoint expects an object.
namestring or nullOptional
descriptionstring or nullOptional
root_school_department_idinteger or nullOptional
batch_idinteger or nullOptional
activeboolean or nullOptional

Response

Department was updated and returned in the success envelope.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error