Skip to main content
POST
Restore a site to a version

Authorizations

Authorization
string
header
required

A company admin credential for your company, or a droplet installation token with the website scope for reads, except on the share routes, which refuse a droplet token.

Path Parameters

id
string<uuid>
required

The site's id.

Body

application/json

The version to restore. Any other field is refused.

sha
string
required

The sha of the version, 7 to 40 hex characters, from sha in the versions listing.

Pattern: ^[0-9a-fA-F]{7,40}$

Response

The site now equals the version.

What a restore did.

restored
object
required
status
integer
required

The HTTP status.

meta
object
required

Response metadata included on every response body.