---
title: "Update Variables"
method: PUT
path: "/api/apps/{name}/variables"
tags: ["deploy"]
---

# Update Variables

`PUT /api/apps/{name}/variables`

## Request

- Base URL: `https://softkiln.com` (the document declares no server; this is the origin it was published from)
- URL: `https://softkiln.com/api/apps/{name}/variables`
- Auth: none declared

Upsert and delete env vars. The human path — no agent allow-list here.

Deliberately not gated by the agent allow-list: this is an authenticated
person in a browser, which is precisely where secrets are supposed to be
entered. Platform-managed keys stay super-admin only.

## Path parameters

- `name` string, required

## Query parameters

- `env` string

## Request body

- UpdateVariablesRequest
  - `set` object
  - `delete` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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