# Delete a single reservation

`DELETE /listings/{listing_id}/reservations/{reservation_id}`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/delete-reservations · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `deleteReservations` · Tag: Reservations · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

This endpoint deletes a single reservation by its id. NOTE: if a reservation is cancelled, it is best to update
the reservation's cancelled flag to true with the PUT reservation endpoint.  This endpoint is only intended to
be used for erroneously created reservations.

## Request

`DELETE https://api.usewheelhouse.com/ss_api/v1/listings/{listing_id}/reservations/{reservation_id}`

Authentication: send your integration API key in the `X-Integration-API-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `listing_id` | string | yes | The integration partner's unique listing identifier. |
| `reservation_id` | string | yes | The reservation ID |

### Example request

```bash
curl -X DELETE 'https://api.usewheelhouse.com/ss_api/v1/listings/{listing_id}/reservations/{reservation_id}' \
  -H 'X-Integration-API-Key: <your integration API key>' \
  -H 'X-User-API-Key: <your user API key>'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 200

Successfully deleted reservation

### 401

API key authorization failed

### 403

Listing authorization failed

### 404

Listing not found

### 422

Reservation not found

### 423

Reservation is locked as it has been billed
