> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateEnvironmentInput

> Input object in the GraphQL API.

| Field | Type | Required | Description |
| - | - | - | - |
| `id` | [`ID!`](/docs/cloud/graphql/types/id) | Yes | |
| `name` | [`String`](/docs/cloud/graphql/types/string) | No | |
| `variables` | [`[EnvironmentVariableInput!]`](/docs/cloud/graphql/types/environmentvariableinput) | No | Upserts variables by key in this environment. Existing keys retain their IDs; omitted keys remain unchanged. Requires variable write access. Values are returned masked. |
| `protected` | [`Boolean`](/docs/cloud/graphql/types/boolean) | No | |

[All GraphQL types](/docs/cloud/graphql/schema) · [Operations](/docs/cloud/graphql)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.