Skip to main content

CreateEnvironmentInput

No description

input CreateEnvironmentInput {
description: String
id: String!
name: String!
}

Fields

CreateEnvironmentInput.description ● String scalar {#description}

Create a new environment. Environments are isolated deployment contexts like production, staging, or development, each with independent secrets and configurations.

CreateEnvironmentInput.id ● String! non-null scalar {#id}

A short, memorable identifier for looking up this environment in the API and CLI. This becomes the second segment of package identifiers. For example, project 'ecomm' with environment 'prod' and component 'db' creates 'ecomm-prod-db'. Use familiar names like 'prod', 'staging', 'dev'—human-readable, not a UUID. Max 20 characters, lowercase alphanumeric only (a-z, 0-9). Immutable after creation.

CreateEnvironmentInput.name ● String! non-null scalar {#name}

A human-readable name for the environment

Member Of

createEnvironment mutation