---
title: "Restore Version"
method: POST
path: "/v1/structures/versions/{version_id}/restore"
tags: ["structures", "versions"]
---

# Restore Version

`POST /v1/structures/versions/{version_id}/restore`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/structures/versions/{version_id}/restore`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

## Path parameters

- `version_id` string, required

## Request body

- PublishInput
  - `label` string, nullable

## Response `200`

Successful Response

- PublishResultView
  - `appliedStructureUuid` string, required
  - `driftDetected` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/shapemaker/apis/shapemaker-api.md) - [All operations](https://skmtc.dev/shapemaker/apis/shapemaker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shapemaker/apis/shapemaker-api/revisions/b8461cf1236c?raw)
