# Create a new city **POST /api/Cities** Sample request: POST /cities { "name": "Budapest", "country": "Hungary", "postOffice": "10543" } ## Servers - http://api.example.com: http://api.example.com () ## Parameters ### Body: application/json (object) The data for the new 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 #### Body: application/json (object) - **id** (string(uuid)) - **creationDate** (string(date-time)) - **lastModified** (string(date-time)) - **name** (string | null) - **country** (string | null) - **postOffice** (string | null) - **numberOfHotels** (integer(int32)) - **Additional properties are NOT allowed** () ### 201 Returns the newly created city ### 400 If the request data is invalid ### 401 If the user is not authenticated ### 403 If the user is not authorized (not an admin) [Powered by Bump.sh](https://bump.sh)