---
title: "Create unavailable block type"
method: POST
path: "/unavailable_block_types"
tags: ["Unavailable Block Type"]
---

# Create unavailable block type

`POST /unavailable_block_types`

## Request body

- object
  - `color` string
  - `duration_in_minutes` integer
  - `name` string

## Response `201`

Resource was created

- UnavailableBlockType
  - `archived_at` string, date-time, nullable
  - `color` string
  - `created_at` string, date-time
  - `duration_in_minutes` integer
  - `id` string, int64
  - `links` object
    - `self` string, uri
  - `name` string
  - `system_controlled` boolean, nullable
  - `updated_at` string, date-time

## Other responses

- `422` — Resource could not be saved due to validation errors

---

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