Skip to main content

forkEnvironment

Forks an environment, creating a new environment with optional copying of secrets, env defaults, and remote references.

forkEnvironment(
organizationId: ID!
parentId: ID!
input: ForkEnvironmentInput!
): EnvironmentPayload

Arguments​

forkEnvironment.organizationId ● ID! non-null scalar​

forkEnvironment.parentId ● ID! non-null scalar​

The ID of the environment to fork from

forkEnvironment.input ● ForkEnvironmentInput! non-null input​

Input containing the new environment details and options for what to copy from the parent

Type​

EnvironmentPayload object​