---
title: "Changes to POST /api/v3/accounts/{account_id}/projects/{project_id}/environment-variables/"
method: POST
path: "/api/v3/accounts/{account_id}/projects/{project_id}/environment-variables/"
---

# Changes to POST /api/v3/accounts/{account_id}/projects/{project_id}/environment-variables/

`POST /api/v3/accounts/{account_id}/projects/{project_id}/environment-variables/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 69 revisions.

- **2026-10-28** (v3) `e32fbfcdc9ec`: 1 info
- **2026-10-06** (v3) `7d5c1b4c8d8a`: 2 breaking
- **2026-06-12** (v3) `35ed07b14344`: 1 info
- **2026-04-22** (v3) `ed46da9332ad`: 15 breaking
- **2026-02-10** (v3) `45ba55712f57`: 1 info

## Changes

- **2026-10-28** (v3) `e32fbfcdc9ec`: 1 info
  - added the required property `data/environment/allOf[#/components/schemas/EnvironmentV3]/enable_dbt_state_model_lock` to the response with the `200` status
- **2026-10-06** (v3) `7d5c1b4c8d8a`: 2 breaking
  - for the `path` request parameter `account_id`, the format changed from no format to `int64`
  - for the `path` request parameter `project_id`, the format changed from no format to `int64`
- **2026-06-12** (v3) `35ed07b14344`: 1 info
  - added the optional property `data/environment/allOf[#/components/schemas/EnvironmentV3]/enable_dbt_state` to the response with the `200` status
- **2026-04-22** (v3) `ed46da9332ad`: 15 breaking
  - the `account_id` request property format changed from no format to `int64` (media type: application/json)
  - the `account_id` request property format changed from no format to `int64` (media type: application/x-www-form-urlencoded)
  - the `account_id` request property format changed from no format to `int64` (media type: multipart/form-data)
  - the `environment_id` request property format changed from no format to `int64` (media type: application/json)
  - the `environment_id` request property format changed from no format to `int64` (media type: application/x-www-form-urlencoded)
  - the `environment_id` request property format changed from no format to `int64` (media type: multipart/form-data)
  - the `job_definition_id` request property format changed from no format to `int64` (media type: application/json)
  - the `job_definition_id` request property format changed from no format to `int64` (media type: application/x-www-form-urlencoded)
  - the `job_definition_id` request property format changed from no format to `int64` (media type: multipart/form-data)
  - the `project_id` request property format changed from no format to `int64` (media type: application/json)
  - the `project_id` request property format changed from no format to `int64` (media type: application/x-www-form-urlencoded)
  - the `project_id` request property format changed from no format to `int64` (media type: multipart/form-data)
  - the `user_id` request property format changed from no format to `int64` (media type: application/json)
  - the `user_id` request property format changed from no format to `int64` (media type: application/x-www-form-urlencoded)
  - the `user_id` request property format changed from no format to `int64` (media type: multipart/form-data)
- **2026-02-10** (v3) `45ba55712f57`: 1 info
  - added the optional property `data/environment/allOf[#/components/schemas/EnvironmentV3]/primary_profile_id` to the response with the `200` status

---

[Operation](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/docs/api/v3/accounts/:account_id/projects/:project_id/environment-variables/post.md) - [API](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2.md) - [Page](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/changes/api/v3/accounts/:account_id/projects/:project_id/environment-variables/post)
