Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Numeric identifier of the booking to delete.
Response
Returns an ActionConfirmation object.
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)