---
title: "Cancel the booking based on bookingId"
method: DELETE
path: "/api/v1/book/{bookingId}"
tags: ["Booking"]
---

# Cancel the booking based on bookingId

`DELETE /api/v1/book/{bookingId}`

Cancel the booking based on bookingId

## Path parameters

- `bookingId` string, required

## Query parameters

- `cancellationToken` string, required

## Headers

- `api-key` string, required
- `customer-id` string, required
- `affiliate-id` string, required
- `user-ip` string, required
- `correlation-id` string, required

## Response `200`

Success

- CancelResponse
  - `cancellationStatus` 'Pending' | 'Failed' | 'CancellationPending' | 'Cancelled'
  - `bookingId` string — Booking Id
  - `providerCancellationNumber` string — Cancellation reference as received from provider
  - `hotelCancellationNumber` string, nullable — Hotel cancellation number
  - `roomCancellation` RoomCancellationInfo[] — Room cancellation details
    - `providerConfirmationNumber` string — Provider confirmation number
    - `hotelConfirmationNumber` string, nullable — Hotel confirmation number
    - `providerCancellationNumber` string — Provider cancellation number
    - `hotelCancellationNumber` string, nullable — Hotel cancellation number
    - `cancellationStatus` 'Pending' | 'Failed' | 'CancellationPending' | 'Cancelled'

## Other responses

- `400` — ClientSideError
- `500` — ServerSideError

---

[API](https://skmtc.net/zentrumhub/apis/hotelcontent-api.md) · [All operations](https://skmtc.net/zentrumhub/apis/hotelcontent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zentrumhub/hotelcontent-api/revisions/9fa4830db488/schema)
