# Replace the booking settings; a stale revision is refused

`PUT /bookings/settings` · Rivier · bookings

Replace the booking settings; a stale revision is refused.

- Scope: bookings:admin
- Sdk: bookings.settings.set
- Cli: bookings settings set
- Events: bookings.settings.updated

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "settings": {
      "type": "object",
      "additionalProperties": {}
    },
    "ifRev": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "settings"
  ],
  "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 PUT 'https://api.rivier.ai/bookings/settings' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "settings": {}
}'
```
