Define a Value in an application
Define a Value in an application.
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.
Responses
-
The value was successfully defined.
POST
/groups/{groupId}/apps/{appId}/values
curl \
--request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/values' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","private":true}'
Request examples
{
"name": "string",
"private": true
}
Response examples (201)
{
"name": "string",
"private": true
}