---
title: "PUT /v1/projects/{projectOrProductUID}/environment_variables"
method: PUT
path: "/v1/projects/{projectOrProductUID}/environment_variables"
tags: ["project"]
---

# PUT /v1/projects/{projectOrProductUID}/environment_variables

`PUT /v1/projects/{projectOrProductUID}/environment_variables`

Set environment variables of a project

## Request body

- EnvironmentVariables
  - `environment_variables` object, required

## Response `200`

The response body from an environment variables request.

- EnvironmentVariables
  - `environment_variables` object, required

## Other responses

- `default` — The response body in case of an API error.

## Changes

- **2025-11-21** `dd27792a21c0` — 1 info
  - api operation id `AddProjectEnvironmentVariables` removed and replaced with `SetProjectEnvironmentVariables`

[Change history](https://skmtc.dev/notefile/apis/notehub-api/changes/v1/projects/:projectOrProductUID/environment_variables/put.md)

---

[API](https://skmtc.dev/notefile/apis/notehub-api.md) · [All operations](https://skmtc.dev/notefile/apis/notehub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/notefile/notehub-api/revisions/b1ae6c985643/schema)
