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