# Go back to a saved direction

`POST /hosting/sites/{id}/design/directions/{dir}/restore` · Rivier · hosting

Go back to a saved direction: brief, theme and page trees. The current state is saved first. A person only.

- Scope: hosting:write
- Graphql: Mutation.hostingDesignDirectionRestore
- Sdk: hosting.designDirection.restore
- Cli: hosting design direction restore

## Parameters

- `id` (path, required), string
- `dir` (path, required), string

## 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/hosting/sites/{id}/design/directions/{dir}/restore' \
  -H 'Authorization: Bearer $KEY'
```
