Skip to main content
POST
cURL
Send the database under external_database: a name and a tables array, where each table has a table_name, its fields (column names) and its first records. Set replace to true to recreate a database that already exists with the tables in the body. The response holds the name, a message and activity_logs under external_database.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Body

application/json
external_database
object
required

Response

201 - application/json

The database is created; its name and a message, under external_database.

external_database
object