# Cancel a reservation

`POST /lodging/reservations/{id}/cancel` · Rivier · bookings

Cancel a reservation. States what the cancellation policy makes of it without moving money; a dry run changes nothing.

- Scope: bookings:write
- Mcp: rivier_lodging_cancel
- Graphql: Mutation.cancelReservation
- Sdk: bookings.reservation.cancel
- Cli: bookings reservation cancel
- Events: bookings.reservation.cancelled

## Parameters

- `id` (path, required), string
- `dryRun` (query), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "reason": {
      "type": "string",
      "maxLength": 300,
      "default": ""
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/lodging/reservations/{id}/cancel' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "reason": ""
}'
```
