---
title: "Restore a deleted blocked-time preset"
method: POST
path: "/shop/blocked-time-presets/{blockedTimePresetId}/restore"
tags: ["BlockedTimePresets"]
---

# Restore a deleted blocked-time preset

`POST /shop/blocked-time-presets/{blockedTimePresetId}/restore`

Restores a soft-deleted `BlockedTimePreset` so it appears in the
picker again. Idempotent — restoring an already-live preset is
a no-op.

Requires the `SETTINGS_MANAGE` permission on the preset's site.

## Response `200`

A single `BlockedTimePreset`.

- object
  - `data` BlockedTimePreset, required — A `BlockedTimePreset` captures the reusable defaults for a common kind of blocked time — e.g. "Lunch break" (30 min, `break`), "Deep clean" (15 min, `cleaning`). Operators pick a preset in the calendar UI to create a `BlockedTime` with the preset's `duration`, `type`, `label`, `notes`, and `color` pre-filled.
    - `id` string, object-id, required — Unique identifier for the preset.
    - `name` string, required — Display name shown in the preset picker. Plain text only.
    - `duration` integer — Default duration in minutes for a `BlockedTime` created from this preset. Must be at most 1200 (20 hours).
    - `type` 'cleaning' | 'break' | 'meeting' | 'other' — Default block type. Drives the calendar icon.
    - `label` string, nullable — Default short label on the calendar tile. Plain text only.
    - `notes` string, nullable — Default free-form note (plain text).
    - `color` string, nullable — Default hex colour (`#rrggbb`, lower-case) to override the type's default colour.
    - `site_id` string, uuid, required — ID of the site this preset belongs to.
    - `organisation_id` string, uuid, required — ID of the organisation that owns this preset.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found

---

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