> ## 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 deletes a specific booking.

# 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

```http theme={null}
DELETE /api/public/bookings/1234
Authorization: Bearer {token}
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.