---
title: "Change the condition of a unit"
method: PUT
path: "/operations/v1/units-condition"
tags: ["Operations"]
---

# Change the condition of a unit

`PUT /operations/v1/units-condition`

<br>You must have this scope: 'operations.change-room-state'.

## Request body

- ReplaceUnitConditionListModel
  - `unitsConditions` ReplaceUnitConditionModel[], required
    - `id` string, required
    - `condition` 'Clean' | 'CleanToBeInspected' | 'Dirty', required

## Response `204`

The unit condition has been updated

## Other responses

- `400` — Bad request.
- `401` — You are unauthorized.
- `403` — Forbidden.
- `404` — The Request-URI could not be found.
- `415` — Unsupported media type.
- `422` — Validation errors in the request body or query params.
- `499` — Client closed request.
- `500` — An unexpected error occurred.
- `503` — The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-operations-api.md) · [All operations](https://skmtc.dev/apaleo/apis/apaleo-operations-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apaleo/apaleo-operations-api/revisions/42bfd5d5fecf/schema)
