> ## 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

<ParamField path="id" type="number" required>
  Numeric identifier of the booking to delete.
</ParamField>

## Response

Returns an `ActionConfirmation` object.

<ResponseField name="WasSuccessful" type="boolean" required>
  Whether the cancellation was successful.
</ResponseField>

## 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)
```
