Skip to main content

addEnvironmentVariable

Add an environment variable to an application environment.

addEnvironmentVariable(
input: EnvironmentVariableInput
): EnvironmentVariablesPayload

Example​

mutation ($input: EnvironmentVariableInput) {
addEnvironmentVariable(input: $input) {
environmentVariables {
total
}
}
}

Arguments​

addEnvironmentVariable.input ● EnvironmentVariableInput input common​

The application, environment, and variable values to add.

Type​

EnvironmentVariablesPayload object common​

The updated environment variable list after a mutation.