---
title: "Restore a revision"
method: POST
path: "/admin/api/pads/{padId}/restoreRevision"
tags: ["Pads"]
---

# Restore a revision

`POST /admin/api/pads/{padId}/restoreRevision`

Restores a revision from the past as a new changeset

## Path parameters

- `padId` string, required

## Request body

- PadRestoreRevisionRequest
  - `authorId` string
  - `rev` integer

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/ether/apis/etherpad-go-api.md) · [All operations](https://skmtc.net/ether/apis/etherpad-go-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ether/etherpad-go-api/versions/6f3a072916e8/schema)
