Define a Value in an application

POST /groups/{groupId}/apps/{appId}/values

Define a Value in an application.

Path parameters

application/json

Body Required

The value to create.

  • name string Required
  • private boolean Required

Responses

  • 201 application/json

    The value was successfully defined.

    Hide response attributes Show response attributes object
    • name string Required
    • private boolean Required
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
}