---
search:
  tags:
    - sites
    - POST
seo:
  description: >-
    For a server app's version, its sandbox is started first and… Reference for
    the POST /v1/sites/{site}/versions/{version}/restore endpoint in the pols.so
    API.
sidebar:
  label: Make one of the site's versions live again
  badge: POST
title: Make one of the site's versions live again
type: openapi-operation
---
For a server app's version, its sandbox is started first and the
version made live once the app answers on its port; the version
that was live is then stopped. Only the newest version besides
the live one keeps its sandbox: an older one cannot be restored
(409 `conflict`), deploy its commit again instead.

`POST /v1/sites/{site}/versions/{version}/restore`
