Update an existing driver's details
PUT/drivers/:id
This function allows updating the details of an existing driver. Requires a valid JWT token.
Request
Responses
- 200
- 401
- 500
Driver updated successfully.
Unauthorized request due to invalid or missing authentication.
An error occurred while updating the driver.