Update a bus
Updates bus details and optionally changes its tracking device assignment.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
id
Bus ID.
Query parameters
_method
Frontend form-method override sent with the POST request.
Allowed values:
Request
This endpoint expects an object.
name
color
bus_number
vin_number
capacity
tracking_device_id
Response
Bus updated.
status
message
data
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error

