UnarchiveEnvironment
environments.unarchive(EnvironmentUnarchiveParams**kwargs) -> object
POST/gitpod.v1.EnvironmentService/UnarchiveEnvironment
Unarchives an environment.
Examples
-
Unarchive an environment:
environmentId: "07e03a28-65a5-4d98-b532-8ea67b188048"
UnarchiveEnvironment
import os
from gitpod import Gitpod
client = Gitpod(
bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted
)
response = client.environments.unarchive(
environment_id="07e03a28-65a5-4d98-b532-8ea67b188048",
)
print(response){}Returns Examples
{}