---
title: "PUT /api/rebookings/strategies/{id}"
method: PUT
path: "/api/rebookings/strategies/{id}"
tags: ["api", "rebooking"]
---

# PUT /api/rebookings/strategies/{id}

`PUT /api/rebookings/strategies/{id}`

## Request

- Base URL: `https://vivenu.com`
- URL: `https://vivenu.com/api/rebookings/strategies/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

## Path parameters

- `id` string, required

## Request body

- PUTRebooking
  - `name` string, required
  - `deadline` object, required
    - `unit` 'hours' | 'days' | 'weeks' | 'months' | 'quarters' | 'years', required: The unit in which the offset is specified
    - `offset` integer, required: The offset to the date
    - `target` string, required: The target of the relative date
  - `defaultFee` object
  - `rules` object[]
  - `exceptions` object[]

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

## Changes

- **2026-10-15** `4ef1e0466eb3`: 1 info
  - added the new `quarters` enum value to the request property `deadline/unit`

[Operation history](https://skmtc.dev/vivenu/apis/vivenu-api/changes/api/rebookings/strategies/:id/put.md)

---

[API](https://skmtc.dev/vivenu/apis/vivenu-api.md) - [All operations](https://skmtc.dev/vivenu/apis/vivenu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vivenu/apis/vivenu-api/revisions/af2684113d08?raw)
