services
Link multiple data sources
Changed onCall this endpoint to link multiple data sources to an App. The total limit of linked data sources per App is 100. Data Sources linked by this endpoint will have ReadAndWrite default rules.
post/groups/{groupId}/apps/{appId}/multi_data_sources
Request
- Base URLhttps://services.cloud.mongodb.com/api/admin/v3.0
- URLhttps://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/multi_data_sources
- AuthHTTP bearer
Path parameters
groupIdstring required
An Atlas Project/Group ID.
appIdstring required
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Request body
Example request
[
{
"name": "first-cluster",
"type": "mongodb-atlas",
"config": {
"clusterName": "Cluster0"
}
}
]Response
No content
Changes
- breaking
added the new path request parameter
appId - breaking
added the new path request parameter
groupId
- breaking
- info
endpoint added
- info