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