Set the App Environment
Changed onSet the App's active environment
Request
- Base URLhttps://services.cloud.mongodb.com/api/admin/v3.0
- URLhttps://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/environment
- AuthHTTP bearer
Request body
Example request
{
"environment": "production"
}Response
Success
Example response
{
"name": "MyApp",
"environment": "production",
"_id": "633209ffd3bd3478005d1bac",
"client_app_id": "myapp-abcde",
"domain_id": "63320a2b5f9de9a6e0a213e8",
"group_id": "5b2ec991973129243223a114",
"last_used": 1664224746,
"last_modified": 1656440824
}Changes
- breaking
added
subschema #1to therequest propertyallOflist - breaking
removed the enum value
of the request property - breaking
removed the enum value
developmentof the request property - breaking
removed the enum value
productionof the request property - breaking
removed the enum value
qaof the request property - breaking
removed the enum value
testingof the request property - breaking
the
request property type changed fromstringto no type - breaking
the
////response's property type changed fromstringto no type for status - info
added
subschema #1to the////response propertyallOflist for the response status - info
removed the
enum value from the////response property for the response status - info
removed the
developmentenum value from the////response property for the response status - info
removed the
productionenum value from the////response property for the response status - info
removed the
qaenum value from the////response property for the response status - info
removed the
testingenum value from the////response property for the response status
- breaking
- warning
added the new
device-syncenum value to the/response property for the response status
- warning