Environments
Environments are isolated namespaces (IDs like env-xxxx) inside a project that hold deployments and tools.
Get or list environments
?id=<environmentId>returns a single environment with its resource quotas.?projectId=<projectId>returns all environments in a project (optionally filtered byregion).
One of id or projectId is required; otherwise the call fails with INVALID_QUERY.
query Parameters
idEnvironment ID, e.g. env-k3x9q2m7.
projectIdregionOnly with projectId.
Get or list environments › Responses
An environment (with id) or a list of environments (with projectId).
statusmessageUpdate an environment
Renames an environment and sets its user resource limits. Limits cannot exceed the platform limits returned on the environment.
Update an environment › Request Body
idEnvironment ID.
projectIdname^[a-zA-Z0-9-]+$ · requiredcpuMaxUserLimitMaximum CPU for the environment.
memoryMaxUserLimitMaximum memory for the environment.
pvcStorageMaxUserLimitMaximum persistent storage for the environment.
Update an environment › Responses
Updated environment.
Create an environment
Create an environment › Request Body
projectIdname^[a-zA-Z0-9-]+$ · requiredregionCreate an environment › Responses
Environment created.
Delete an environment
Deletes an environment. Delete its deployments and tools first, otherwise the call fails with ENV_DELETE_FAILED.
query Parameters
idEnvironment ID.
projectIdDelete an environment › Responses
Environment deleted.
statusmessagedata
