---
title: "Allows to modify the unit group availability"
method: PATCH
path: "/availability/v1/unit-groups/{id}"
tags: ["Availability"]
---

# Allows to modify the unit group availability

`PATCH /availability/v1/unit-groups/{id}`

You can replace AllowedOverbooking for a unit group<br>You must have this scope: 'availability.manage'.

## Path parameters

- `id` string, required

## Query parameters

- `from` string, date, required
- `to` string, date, required
- `timeSliceTemplate` 'DayUse' | 'OverNight', required

## Request body

- Operation[]
  - `value` unknown
  - `path` string, nullable
  - `op` string, nullable
  - `from` string, nullable

## Response `204`

Success

## 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-availability-api.md) · [All operations](https://skmtc.dev/apaleo/apis/apaleo-availability-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apaleo/apaleo-availability-api/revisions/efbf2d427dd7/schema)
