updateExternalDatabaseConnection( )


Updates an external database connection.

Note: After an external database connection is updated, it only contains the values provided in the request. All previous values are lost.

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Manage External Database Connections
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
externalDatabaseConnectionUpdateExternalDatabaseConnectionRequired

Updated external database connection details. The existing connection is replaced with this version.


namestringRequired

Name of the external database connection.

An external database connection can connect to one or more external data collections or tables. These appear as connectionName/dataCollectionId.

Returns
Return Type:Promise<ExternalDatabaseConnection>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?