---
title: "Delete a booking"
method: DELETE
path: "/bookings/{bookingId}"
tags: ["Bookings"]
---

# Delete a booking

`DELETE /bookings/{bookingId}`

Deletes a booking, cancelling the hold on the trip.

## Response `204`

Booking deleted

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

## Changes

- **2024-10-16** `5c1810762d13` — 6 breaking
  - the response's body type changed from no type to `object` for status `400` (media type: application/problem+json)
  - the response's body type changed from no type to `object` for status `401` (media type: application/problem+json)
  - the response's body type changed from no type to `object` for status `403` (media type: application/problem+json)
  - the response's body type changed from no type to `object` for status `404` (media type: application/problem+json)
  - …2 more
- **2024-03-06** `586db3b230d3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/bump-sh-examples/apis/train-travel-api/changes/bookings/:bookingId/delete.md)

---

[API](https://skmtc.dev/bump-sh-examples/apis/train-travel-api.md) · [All operations](https://skmtc.dev/bump-sh-examples/apis/train-travel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bump-sh-examples/train-travel-api/revisions/f98baa492089/schema)
