apps
Create a new app
post/groups/{groupId}/apps
Query parameters
defaultsboolean
Whether or not to create a default application.
product'standard' | 'atlas' | 'data-api'
The App's product type. Apps use the standard product type by default. For most apps, you do not need to specify a product at all, or should specify standard.
The atlas and data-api product types represent special, apps for Atlas Triggers and Atlas Data API that you can access through the Atlas UI.
Request body
Example request
{
"name": "MyApp",
"environment": "production",
"data_source": {
"name": "mongodb-atlas",
"type": "mongodb-atlas",
"config": {
"clusterName": "Cluster0"
}
}
}Response
The application was successfully created.
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
}