Skip to main content
vercel.updateProjectEnvironmentVariable edits a variable by its Vercel ID.
automations/update-vercel-env.automation.ts
The action requires project and environmentVariableId. Supply any of key, value, type, targets, gitBranch, customEnvironmentIds, or comment. Omitted fields remain unchanged. Pass gitBranch: null to clear branch scoping. Returns Vercel’s full updated-variable response.