Update a school class

Updates editable class fields such as name, activity, level, description, or batch.

Authentication

AuthorizationBearer

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

Path parameters

idintegerRequired
Numeric school class identifier.

Request

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

Response

The school class was updated successfully.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

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