---
title: "Changes to Create one or more environment variables"
method: POST
path: "/v10/projects/{idOrName}/env"
---

# Changes to Create one or more environment variables

`POST /v10/projects/{idOrName}/env`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 137 revisions.

- **2026-09-15** `bc022fa59ffb`: 1 breaking, 1 info
- **2026-08-12** `b7b824605094`: 1 breaking
- **2026-07-26** `01c71864fa50`: 1 breaking, 1 info
- **2026-07-21** `2ae10ee9d21c`: 1 info
- **2026-06-11** `14b4658f819e`: 2 breaking, 2 info
- **2026-01-22** `c12186034433`: 2 breaking, 1 info
- **2025-10-09** `50caddad4ae7`: 1 breaking, 4 info
- **2025-04-22** `661a2f6357c1`: 1 breaking, 1 info
- **2025-03-19** `37b482c58c92`: 3 breaking, 7 info
- **2022-12-06** `8eb562567170`: 1 info

## Changes

- **2026-09-15** `bc022fa59ffb`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2026-08-12** `b7b824605094`: 1 breaking
  - the response property `created` became optional for the status `201`
- **2026-07-26** `01c71864fa50`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2026-06-11** `14b4658f819e`: 2 breaking, 2 info
  - removed `subschema #1, subschema #2` from the request body `oneOf` list
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - added `subschema #1, subschema #2` to the request body `oneOf` list
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2026-01-22** `c12186034433`: 2 breaking, 1 info
  - request body became required
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2025-10-09** `50caddad4ae7`: 1 breaking, 4 info
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2025-04-22** `661a2f6357c1`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2025-03-19** `37b482c58c92`: 3 breaking, 7 info
  - removed `subschema #1, subschema #2` from the request body `oneOf` list
  - added `subschema #1, subschema #2` to the `created` response property `oneOf` list for the response status `201`
  - removed the success response with the status `200`
  - added the new optional `query` request parameter `slug`
  - added the new optional `query` request parameter `upsert`
  - added `subschema #1, subschema #2` to the request body `oneOf` list
  - added the non-success response with the status `401`
  - removed the non-success response with the status `404`
  - the response property `failed` became required for the status `201`
  - removed `subschema #1, subschema #2` from the `created` response property `oneOf` list for the response status `201`
- **2022-12-06** `8eb562567170`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/vercel/apis/api/docs/v10/projects/:idOrName/env/post.md) - [API](https://skmtc.dev/vercel/apis/api.md) - [Page](https://skmtc.dev/vercel/apis/api/changes/v10/projects/:idOrName/env/post)
