# Go back to the built-in words of a guest message in one language

`POST /lodging/message-templates/reset` · Rivier · bookings

Go back to the built-in words of a guest message in one language.

- Scope: bookings:admin
- Sdk: bookings.messageTemplate.reset
- Cli: bookings message template reset

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string",
      "format": "uuid"
    },
    "kind": {
      "type": "string",
      "enum": [
        "pre_arrival",
        "welcome",
        "thanks",
        "cancellation",
        "checkin_info",
        "review_request",
        "payment_due"
      ]
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "de",
        "es",
        "fr",
        "ja",
        "ar",
        "sv",
        "dv"
      ]
    }
  },
  "required": [
    "propertyId",
    "kind",
    "locale"
  ],
  "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/message-templates/reset' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "propertyId": "string",
  "kind": "pre_arrival",
  "locale": "en"
}'
```
