---
title: "Cancel an upcoming public booking"
method: DELETE
path: "/api/book/{token}/bookings/{id}"
tags: ["Public booking"]
---

# Cancel an upcoming public booking

`DELETE /api/book/{token}/bookings/{id}`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/book/{token}/bookings/{id}`
- Auth: none declared

Public: no bearer token. Only a booking made through TRMNL that has not started.

## Response `204`

Canceled

## Other responses

- `404`: A booking made outside TRMNL, or one on another room
- `410`: Unknown token, Booking with TRMNL off, or a room that cannot be booked: all look the same

---

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