Enable the BI Connector
This section shows you how to enable the BI Connector on an existing cluster.
Modify the cluster
The BI Connector is enabled by modifying a cluster attribute with a PATCH request.
Set
biConnector.enabledtotrueto enable the BI Connector for this cluster.You can disable it at any time by setting this attribute to
falseagain.
Endpoint
Use the following endpoint to enable the BI Connector: https://api.ionos.com/databases/mongodb/clusters
Request
curl --include \
--request PATCH \
--user "clientname@ionos.com:Mb2.r5oHf-0t" \
--header "Content-Type: application/json" \
--data-binary '{
"properties": {
"biConnector": {
"enabled": true
}
}
}' \Response
200 Successful operation
The patched resource is returned.
The
biConnectorproperty now includes thehostandportattributes needed to connect to the BI Connector. These are read-only attributes and cannot be changed.At this point, you have enabled the BI Connector on your database.
Last updated
Was this helpful?