Environments
Restore an archived environment
Restore an archived environment. Returns 409 if another live environment took its name in the meantime. Plugin pins whose version row no longer exists at all are dropped on the way back to live — compare the returned pluginVersionIds against what you archived to detect that. Requires expectedRevision — the revision you last read. If the environment changed since, the write is rejected with 409 rather than overwriting the concurrent edit. Requires project admin.
post/projects/{projectId}/environments/{environmentId}/restore
Path parameters
projectIdstring required
ID of the hosted project that contains the server.
environmentIdstring required
Project environment ID, as returned by the project's environment list.
Request body
Response
The updated environment.