---
title: "Batch Upsert Repo Env Vars"
method: POST
path: "/v1/repos/{repo_id}/env-vars/batch"
---

# Batch Upsert Repo Env Vars

`POST /v1/repos/{repo_id}/env-vars/batch`

## Request

- Base URL: `https://api.tabtabtab.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tabtabtab.ai/v1/repos/{repo_id}/env-vars/batch`
- Auth: none declared

## Path parameters

- `repo_id` string, required

## Request body

- EnvVarBatchInput: Batch payload for upserting multiple repo env vars.
  - `envVars` EnvVarInput[], required
    - `key` string, required
    - `sourcePath` string, required
    - `value` string, required
    - `isSecret` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tabtabtab/apis/tabtabtab-api.md) - [All operations](https://skmtc.dev/tabtabtab/apis/tabtabtab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tabtabtab/apis/tabtabtab-api/revisions/73961d1e6152?raw)
