v50

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-09181183330.0 KB
services

Link multiple data sources

Call 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

Path parameters

groupIdstring required
appIdstring required

The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.

Request body

namestring

Create a name to identify each cluster you want to link.

type'mongodb-atlas' | 'datalake'

The type of the data source you want to link.

Example request

[
  {
    "name": "first-cluster",
    "type": "mongodb-atlas",
    "config": {
      "clusterName": "Cluster0"
    }
  }
]

Response

No content