---
title: "Set env vars"
method: PUT
path: "/apps/{appRef}/env"
tags: ["Environment"]
---

# Set env vars

`PUT /apps/{appRef}/env`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/apps/{appRef}/env`
- Auth: HTTP bearer

## Path parameters

- `appRef` string, required

## Request body

- object

## Response `204`

Env vars updated

---

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