# Prepare your data as it was at an earlier moment beside your current data

`POST /hosting/sites/{id}/data/restore` · Rivier · hosting

Prepare your data as it was at an earlier moment beside your current data. Nothing changes until you confirm.

- Scope: hosting:write
- Mcp: rivier_hosting_restore_prepare
- Graphql: Mutation.hostingDataRestore
- Sdk: hosting.data.restore
- Cli: hosting data restore
- Events: hosting.data.restorePrepared

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "pointId": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "pointId"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: 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/hosting/sites/{id}/data/restore' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "pointId": "string"
}'
```
