---
title: "Go back to a version"
method: POST
path: "/api/v1/presentations/{slug}/history/{number}/restore"
tags: ["presentations"]
---

# Go back to a version

`POST /api/v1/presentations/{slug}/history/{number}/restore`

## Request

- Base URL: `https://easeweb.host`
- URL: `https://easeweb.host/api/v1/presentations/{slug}/history/{number}/restore`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionid`

Make a presentation you may edit look exactly as it did in a version (slides, blocks, order, title).
The restore is a new version itself, so it can be undone the same way.

## Path parameters

- `slug` string, required: The presentation's slug (its address: /movie/<slug>/).
- `number` integer, required: The version number.

## Response `200`

OK

- object

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/easeweb/apis/easeweb-presentations-api.md) · [All operations](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/llms.txt) · [OpenAPI document](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/revisions/9f5566adb5d1?raw)
