Update a driver
PUT/management/drivers/:id
Update handles the HTTP PUT request to update an existing driver entity. It parses the driver ID from the URL parameters, validates the request body, and updates the driver using the provided service. Returns appropriate HTTP status codes and error messages for invalid input, validation errors, or if the driver is not found.
Request
Responses
- 200
- 404
- 422
OK
Not Found
Unprocessable Entity