Skip to main content
DELETE
/
api
/
public
/
bookings
/
{id}
{
  "WasSuccessful": true
}

Delete Booking

Cancels and removes a specific booking. Depending on operator configuration, a cancellation fee may apply. Use the cancellation fee endpoint to check before deleting.

Authentication

Requires a valid customer bearer token.

Path Parameters

id
number
required
Numeric identifier of the booking to delete.

Response

Returns an ActionConfirmation object.
WasSuccessful
boolean
required
Whether the cancellation was successful.

Examples

Cancel a booking

DELETE /api/public/bookings/1234
Authorization: Bearer {token}

TypeScript Integration

import endpoints from '@/api/endpoints'

const result = await httpClient.delete(endpoints.bookings.delete(1234).url)