latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

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