---
title: "Changes to Set the App Environment"
method: PUT
path: "/groups/{groupId}/apps/{appId}/environment"
---

# Changes to Set the App Environment

`PUT /groups/{groupId}/apps/{appId}/environment`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 50 revisions.

- **2024-02-20** (v3) `e2240dd053bd` — 8 breaking, 6 info
- **2023-12-04** (v3) `1d1564c0dca1` — 1 warning

## Changes

- **2024-02-20** (v3) `e2240dd053bd` — 8 breaking, 6 info
  - added `#/components/schemas/AppEnvironment, subschema #1` to the `environment` request property `allOf` list
  - removed the enum value `` of the request property `environment`
  - removed the enum value `development` of the request property `environment`
  - removed the enum value `production` of the request property `environment`
  - removed the enum value `qa` of the request property `environment`
  - removed the enum value `testing` of the request property `environment`
  - the `environment` request property type/format changed from `string`/`` to ``/``
  - the `allOf[#/components/schemas/App]/environment` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - added `#/components/schemas/AppEnvironment, subschema #1` to the `allOf[#/components/schemas/App]/environment` response property `allOf` list for the response status `200`
  - removed the `` enum value from the `allOf[#/components/schemas/App]/environment` response property for the response status `200`
  - removed the `development` enum value from the `allOf[#/components/schemas/App]/environment` response property for the response status `200`
  - removed the `production` enum value from the `allOf[#/components/schemas/App]/environment` response property for the response status `200`
  - removed the `qa` enum value from the `allOf[#/components/schemas/App]/environment` response property for the response status `200`
  - removed the `testing` enum value from the `allOf[#/components/schemas/App]/environment` response property for the response status `200`
- **2023-12-04** (v3) `1d1564c0dca1` — 1 warning
  - added the new `device-sync` enum value to the `allOf[subschema #2]/product` response property for the response status `200`

---

[Operation](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/docs/groups/:groupId/apps/:appId/environment/put.md) · [API](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [Page](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/changes/groups/:groupId/apps/:appId/environment/put)
