> ## Documentation Index
> Fetch the complete documentation index at: https://docs.series.hr/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Maintenance

> Put a hotel room into maintenance

Put a room into maintenance mode and clear any occupant or reservation data.

## Request

```bash theme={null}
curl -X POST https://api.series.hr/hotel/set-maintenance/204 \
  -H "apikey: YOUR_API_KEY"
```

## Path Parameters

<ParamField path="roomNumber" type="string" required>
  The room number to update.
</ParamField>

## Response

<ResponseField status={200} name="200">
  ```json theme={null}
  {
    "success": true,
    "data": {
      "WorkspaceId": "a7d5339a-5531-4336-99c6-6f3249c9ac20",
      "RoomNumber": "204",
      "Action": "maintenance",
      "Room": {
        "RoomNumber": "204",
        "TypeId": "deluxe-suite",
        "Floor": 2,
        "Status": "maintenance"
      }
    }
  }
  ```
</ResponseField>

## Status Codes

* `200`: Room updated successfully
* `401`: API key is required or invalid
* `403`: Hotel module is disabled or workspace access is denied
