PUT /api/workspaces/{workspace_name}
/apps/workspaces page.workspace object.
"stop", "resume", "patch", "add_to_ingress".
See the Supported Actions section below for details on each action and which parameters they support.patch action.patch action.
Defines lifecycle management policies including termination policies, pre-start scripts, and post-start hooks.
Structure:patch action.
Set to true to sync the workspace configuration with the cluster-level environment variables.
When enabled, the workspace will inherit environment variables from the cluster configuration.action field determines what operation will be performed on the workspace. Each action supports different parameters and cluster types.
stopworkspace.action: "stop"resumeworkspace.action: "resume"patchworkspace.action: "patch"workspace.container_config (string) - YAML configuration string for the containerworkspace.lifecycle_config (object) - Dictionary containing lifecycle configuration (termination policy, pre-start scripts, post-start hooks)workspace.update_workspace_settings (boolean) - Whether to sync workspace settings with cluster-level environment variablesadd_to_ingressworkspace.action: "add_to_ingress"