Exclude a student from a run

Excludes the selected student from this bus run and removes the student from any currently assigned route.

Authentication

AuthorizationBearer

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

Path parameters

batch_idintegerRequired
Academic year identifier
run_setup_idintegerRequired
Bus run setup identifier

Request

This endpoint expects an object.
student_idintegerRequired
reasonstring or nullOptional<=1000 characters

Response

Student excluded and route management refreshed.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

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