---
title: "Changes to Set environment variable"
method: PUT
path: "/api/v1/apps/services/{service_id}/env"
---

# Changes to Set environment variable

`PUT /api/v1/apps/services/{service_id}/env`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 48 revisions.

- **2026-09-02** `a8f47da1ca32`: 2 info
- **2026-08-20** `efd3c11c5c92`: 1 info

## Changes

- **2026-09-02** `a8f47da1ca32`: 2 info
  - added the new optional request property `scope`
  - added the optional property `env_vars/items/scope` to the response with the `200` status
- **2026-08-20** `efd3c11c5c92`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/rafftechnologies/apis/raff-api/docs/api/v1/apps/services/:service_id/env/put.md) - [API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) - [Page](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/apps/services/:service_id/env/put)
