Add cross-tenant database switching to a primary database
{ addXtenderDatabases }
Adds a list of switchable databases per tenant to a primary target database using the "Xtender" engine
Method
/API3/dataSources/addXtenderDatabases
- Enterprise Admin
Input Parameters
Name
xtenderDatabase
Object Type
Description
An object representing the Xtender settings on the primary database
Output Response
Successful Result Code
200
Response Type
Description of Response Type
Generic API response object with success or failure flag and related messages.
Notes
This mechanism only operates with multi-tenancy and cross-tenancy enabled. It also needs to be enabled for the relevant data source.
Code Snippets
Use the Authentication API methods to generate an access 'key' or 'token' for use in code as shown below.
TypeScript
Curl
Java
C#
Python
PHP