> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Restore a journey version

POST`/workspace/{orgId}/journeys/{id}/versions/{number}/restore`

Put a published version back as the journey’s draft, to look over and publish as the next version. Nothing changes for anyone until it is published. Steps the journey still has keep their place, so nobody at them is sent anything twice. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`id`

numberrequired

`number`

numberrequired

## Response

200

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/journeys/{id}/versions/{number}/restore'
```

**JavaScript**

```javascript
const options = {
  method: 'POST'
};

fetch('https://api.workover.io/workspace/{orgId}/journeys/{id}/versions/{number}/restore', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/journeys/{id}/versions/{number}/restore"

response = requests.post(url)

print(response.text)
```
