Environment Backups

Restore an environment snapshot

Restore a specific backup from an environment using the id of the entry retrieved by the Get backups list endpoint.

post/projects/{projectId}/environments/{environmentId}/backups/{backupId}/restore

Path parameters

projectIdstring required
environmentIdstring required
backupIdstring required

Request body

environment_namestring nullable required
branch_fromstring nullable required
restore_codeboolean required

Whether we should restore the code or only the data

restore_resourcesboolean required

Whether we should restore resources configuration from the backup

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response

Changes

No recorded changes to this endpoint across all 1 revision of this API.