---
title: "Update envs"
method: POST
path: "/v1/projects/update-envs"
tags: ["Settings"]
---

# Update envs

`POST /v1/projects/update-envs`

update envs that user owns

## Request body

- UpdateEnvs
  - `project` string — The name of your app for update envs
  - `variables` object[] — The envs for update
    - `key` string — The name of your env
    - `value` string — The value of your env

## Response `200`

Successful operation

- object
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Missing authentication
- `404` — App does not exists.

## Changes

- **2023-10-06** `cf08e00ba33f` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2023-09-28** `0473216ad4bf` — 1 info
  - api operation id `updateEnvs` was added
- **2023-09-25** `d253f41e4513` — 1 breaking
  - added required request body

[Change history](https://skmtc.dev/liara-cloud/apis/paas/changes/v1/projects/update-envs/post.md)

---

[API](https://skmtc.dev/liara-cloud/apis/paas.md) · [All operations](https://skmtc.dev/liara-cloud/apis/paas/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/paas/revisions/4413e6f56089/schema)
