---
title: "Update room"
method: PUT
path: "/places/{place_id}/estates/{estate_id}/rooms/{room_id}"
tags: ["Rooms"]
---

# Update room

`PUT /places/{place_id}/estates/{estate_id}/rooms/{room_id}`

## Request

- Base URL: `https://api.faireplace.com/api`
- URL: `https://api.faireplace.com/api/places/{place_id}/estates/{estate_id}/rooms/{room_id}`
- Auth: HTTP bearer

## Path parameters

- `place_id` string, uuid, required
- `estate_id` string, uuid, required
- `room_id` string, uuid, required

## Request body

- UpdateRoom
  - `carrez_surface` number, nullable
  - `habitable_surface` number, nullable
  - `designation` string, nullable
  - `type_room_id` string, uuid, nullable

## Response `200`

OK

- Room
  - `id` string, uuid, nullable
  - `estate_id` string, uuid, nullable
  - `carrez_surface` number, nullable
  - `habitable_surface` number, nullable
  - `designation` string, nullable
  - `type_room_id` string, uuid, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/faireplace/apis/faireplace-property-management-api.md) · [All operations](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/revisions/69de39762919?raw)
