POST
/
base
/
duplicate
curl --request POST \
  --url https://app.teable.io/api/base/duplicate \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"fromBaseId":"string","spaceId":"string","withRecords":true,"name":"string"}'
{
  "id": "<string>",
  "name": "<string>",
  "spaceId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required

Body

application/json
fromBaseId
string
required

The base to duplicate

spaceId
string
required

The space to duplicate the base to

withRecords
boolean

Whether to duplicate the records

name
string

The name of the duplicated base

Response

201 - application/json
Returns information about a successfully duplicated base.
id
string
required
name
string
required
spaceId
string
required