---
title: "Restore Policy Version"
method: POST
path: "/api/policies/{policy_id}/versions/{version}/restore"
tags: ["policies"]
---

# Restore Policy Version

`POST /api/policies/{policy_id}/versions/{version}/restore`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/policies/{policy_id}/versions/{version}/restore`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Restore a policy to a previous version snapshot (policy_versioning, Team+).

## Path parameters

- `policy_id` string, uuid, required
- `version` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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