Update Environment
Update Environment through the OMA API.
?beta=true.Authorizations
OMA workspace API key.
Headers
Optional header to specify the beta version(s) you want to use.
To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.
The version of the OMA API you want to use.
Read more about versioning and our version history here.
Path Parameters
Query Parameters
Selects the beta API contract for this endpoint. Must be true.
true Body
Public API request to update an environment (without org/account fields).
Request params for cloud environment configuration.
Fields default to null; on update, omitted fields preserve the existing value.
- CloudConfigParams
- SelfHostedConfigParams
Updated description of the environment
1024"Python environment with data-analysis packages."
User-provided metadata key-value pairs. Set a value to null or empty string to delete the key.
Updated name for the environment
1 - 256The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only.
organization, account Response
Successful Response
Unified Environment resource for both cloud and self-hosted environments.
RFC 3339 timestamp when environment was archived, or null if not archived
null
cloud environment configuration.
- CloudConfig
- SelfHostedConfig
RFC 3339 timestamp when environment was created
"2026-03-15T10:00:00Z"
User-provided description for the environment
"Python environment with data-analysis packages."
Environment identifier (e.g., 'env_...')
"env_011CZkZ9X2dpNyB7HsEFoRfW"
User-provided metadata key-value pairs
Human-readable name for the environment
"python-data-analysis"
The type of object (always 'environment')
"environment""environment"
RFC 3339 timestamp when environment was last updated
"2026-03-15T10:00:00Z"
The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account.
organization, account