# Update a city **PUT /api/Cities/{id}** Sample request: PUT /cities/{cityId} { "name": "Budapest", "country": "Hungary", "postOffice": "11176" } ## Servers - http://api.example.com: http://api.example.com () ## Parameters ### Path parameters - **id** (string(uuid)) The id of the city to update ### Body: application/json (object) The data for the updated city - **name** (string | null) Name of the City - **country** (string | null) Country of the City - **postOffice** (string | null) Post Office of the City - **Additional properties are NOT allowed** () ## Responses ### 200 Success ### 204 If the city is updated ### 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 city is not found [Powered by Bump.sh](https://bump.sh)