Get an Environment Value
Get details about a specific environment value
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
-
The
_id
value of an environment value.
GET
/groups/{groupId}/apps/{appId}/environment_values/{environmentValueId}
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/environment_values/{environmentValueId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"_id": "string",
"name": "string",
"last_modified": 42.0,
"values": {}
}
Response examples (404)
{
"error": "string",
"error_code": "EnvironmentValueNotFound"
}