bulk_create_env_vars
Create multiple environment variables in a single API call. Optionally overwrite existing keys with upsert.
Instructions
Create multiple environment variables in one call. Pass an array of { key, value, target, type?, gitBranch?, comment? } objects. Set upsert:true to overwrite keys that already exist (otherwise existing keys cause a conflict).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id or name. | |
| variables | Yes | Env vars to create. | |
| upsert | No | Overwrite existing keys instead of failing on conflict. | |
| 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). |