---
title: "Move or resize a booking with a version check (drag and drop)"
method: POST
path: "/api/v1/bookings/{reference}/adjust"
---

# Move or resize a booking with a version check (drag and drop)

`POST /api/v1/bookings/{reference}/adjust`

## Request

- Base URL: `http://127.0.0.1:4310`
- URL: `http://127.0.0.1:4310/api/v1/bookings/{reference}/adjust`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sfb_session`

## Path parameters

- `reference` string, required

## Request body

- object
  - `new_start` string, required
  - `new_end` string
  - `staff_id` string
  - `resource_id` string
  - `expected_version` integer, required
  - `accept_busy_time` boolean
  - `accept_clash` boolean
  - `notify_client` boolean

## Response `200`

OK

- object

## Other responses

- `400`: Validation error
- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict or invalid state

---

[API](https://skmtc.dev/scalingfirm/apis/tsf-booking-api.md) · [All operations](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/revisions/81704199cd37?raw)
