duplicateTable

Duplicates the table schema & content

POST/v1/tables/{sourceTableId}/duplicate

Authorization

AuthorizationBearerrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header parameters

x-bot-idstringrequired
Bot id
x-integration-idstring
Integration id
x-integration-aliasstring
Integration alias
x-integration-namestring
Integration name
x-user-idstring
User Id
x-user-rolestring
User Role

Path parameters

sourceTableIdstringrequired
The table's unique identifier

Request body

Parameters for the duplication operation.

tableNamestring
schemaOnlyboolean
Only duplicate the schema, not the content
factornumber
Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table.(>= 1, <= 30)

Response

The created table object. For large tables, rows are copied asynchronously and a job object is returned to track progress.

tableobjectrequired
rowsnumberrequired
The total number of rows present in the source table.
jobobject