update_env_var
Update an existing environment variable by ID with new key, value, target, type, or comment. Modify Vercel project environment settings directly.
Instructions
Update an existing environment variable (value, target, type, comment) by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id or name. | |
| envId | Yes | Environment variable id. | |
| key | No | ||
| value | No | ||
| target | No | ||
| type | No | ||
| gitBranch | No | ||
| comment | No | ||
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |