> For the complete documentation index, see [llms.txt](https://chekin.gitbook.io/chekin-public-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chekin.gitbook.io/chekin-public-api/api-reference/rooms/update-room.md).

# Update Room

The "Update a Room" endpoint is used to modify details of an existing room within the system, identified by its unique ID. This functionality allows for updates to a room's number, external identifiers, or its association with a housing unit

### Header Parameters:

* **Authorization** *(string) <mark style="color:red;">**\***</mark>**Mandatory***\
  Required for authentication and authorization. You'll need to include a valid token here to access the reservations

### Path Parameters:

* **id** *(string, uuid)* *<mark style="color:red;">**\***</mark>**Mandatory***\
  The unique identifier of the room that is being updated

### Body Parameters:

* **number** (*string*)\
  The new room number or identifier.
* **external\_id** (*string*)\
  An updated external identifier for the room, if applicable.
* **external\_name** (*string*)\
  A new or updated name or description provided by an external system.
* **housing** (*string, uuid*)\
  The identifier of the housing unit to which the room now belongs, if changed.

{% openapi src="/files/2YNWdcD7SWYAbJN2lC4R" path="/rooms/{id}" method="patch" %}
[Chekin-Chekin-1.0.0-resolved.json](https://3564732132-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfAJzL2tAGO9ZwOToBa0R%2Fuploads%2Fgit-blob-0641a0e07e27281f11fe82de446c7229bfe15c1e%2FChekin-Chekin-1.0.0-resolved.json?alt=media)
{% endopenapi %}
