updateEnvironmentVariable
Update an environment variable on an application environment.
updateEnvironmentVariable(
input: EnvironmentVariableInput
): EnvironmentVariablesPayload
Example
- Query
- Variables
- Response
mutation ($input: EnvironmentVariableInput) {
updateEnvironmentVariable(input: $input) {
environmentVariables {
total
}
}
}
{
"input": {
"applicationId": 42,
"environmentId": 42,
"name": "A name",
"reloadManifest": true,
"value": "value"
}
}
{
"data": {
"updateEnvironmentVariable": {
"environmentVariables": {
"total": "42"
}
}
}
}
Arguments
updateEnvironmentVariable.input ● EnvironmentVariableInput input common
The application, environment, and variable values to update.
Type
EnvironmentVariablesPayload object common
The updated environment variable list after a mutation.