Skip to main content
POST
Restore an environment snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required
environmentId
string
required
backupId
string
required

Body

application/json
environment_name
string | null
branch_from
string | null
restore_code
boolean

Whether we should restore the code or only the data

restore_resources
boolean

Whether we should restore resources configuration from the backup

resources
Resources · object | null

Response

default - application/json
status
string
required

The status text of the response

code
integer
required

The status code of the response

Last modified on June 16, 2026