Skip to main content
Unary · Environments Updates an environment’s configuration while it is running. Updates are limited to:
  • Git credentials (username, email)
  • SSH public keys
  • Content initialization
  • Port configurations
  • Automation files
  • Environment timeouts

Examples

  • Update Git credentials: Updates the Git configuration for the environment.
  • Add SSH public key: Adds a new SSH public key for authentication.
  • Update content session: Updates the content session identifier for the environment.
Note: Machine class changes require stopping the environment and creating a new one.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.UpdateEnvironmentRequest

Response

gitpod.v1.UpdateEnvironmentResponse This message has no fields.
gitpod.v1.EnvironmentSpec.EnvironmentPort
KernelControlsConfig configures kernel-level controls for the environmentgitpod.v1.KernelControlsConfig
gitpod.v1.UpdateEnvironmentRequest.AutomationsFile
gitpod.v1.UpdateEnvironmentRequest.Content
gitpod.v1.UpdateEnvironmentRequest.DevContainer
gitpod.v1.UpdateEnvironmentRequest.Metadata
gitpod.v1.UpdateEnvironmentRequest.SSHPublicKey
gitpod.v1.UpdateEnvironmentRequest.Spec
gitpod.v1.UpdateEnvironmentRequest.Timeout
Admission level describes who can access an environment instance and its ports.
BPFDebugLevel controls the verbosity of BPF trace_pipe output (bpf_printk). Applies to all BPF-based agents (veto exec, future agents).
Protocol describes the communication protocol between Gateway and user environment services.