---
title: "POST /api/v1/documentVersions/restore/{DocumentId}"
method: POST
path: "/api/v1/documentVersions/restore/{DocumentId}"
---

# POST /api/v1/documentVersions/restore/{DocumentId}

`POST /api/v1/documentVersions/restore/{DocumentId}`

Recovers a deleted version of an Amazon WorkDocs document.

## Path parameters

- `DocumentId` string, required

## Headers

- `Authentication` string, password

## Response `204`

Success

## Other responses

- `480` — EntityNotExistsException
- `481` — ProhibitedStateException
- `482` — ConflictingOperationException
- `483` — ConcurrentModificationException
- `484` — UnauthorizedResourceAccessException
- `485` — FailedDependencyException
- `486` — InvalidOperationException
- `487` — UnauthorizedOperationException

---

[API](https://skmtc.net/aws/apis/workdocs.md) · [All operations](https://skmtc.net/aws/apis/workdocs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/workdocs/versions/8a533af4e1ef/schema)
