# Update a hotel **PUT /api/Hotels/{id}** Sample request: PUT /hotels/{hotelId} { "name": "Hotel Budapest", "owner": "Hungarian Hotels Ltd.", "street": "King lu, 19 st." "latitude": "15.9", "longitude": "20.5", "starRate" : "4" "cityId": "{cityId}" } ## Servers - http://api.example.com: http://api.example.com () ## Parameters ### Path parameters - **id** (string(uuid)) The id of the hotel to update ### Body: application/json (object) The data for the uploaded hotel - **cityId** (string(uuid)) Id of the city where the hotel is located - **name** (string | null) Name of the hotel - **owner** (string | null) Owner of the hotel - **street** (string | null) Location of the hotel - **latitude** (number(double)) Latitude for the hotel - **longitude** (number(double)) Longitude for the hotel - **Additional properties are NOT allowed** () ## Responses ### 200 Success ### 204 If the hotel is successfully uploaded ### 400 If the request data is invalid ### 401 If the user is not authenticated ### 403 If the user is not authorized (not an admin) ### 404 If the hotel is not found [Powered by Bump.sh](https://bump.sh)