PUT
/
tables
/
{tableUUID}
/
duplicate
Duplicate table
curl --request PUT \
  --url https://api.fluxend.app/tables/{tableUUID}/duplicate \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'X-Project: <x-project>' \
  --data '{
  "name": "<string>",
  "projectUUID": "<string>"
}'
{
  "content": {
    "estimatedRows": 123,
    "id": 123,
    "name": "<string>",
    "schema": "<string>",
    "totalSize": "<string>"
  },
  "errors": [
    "<string>"
  ],
  "metadata": "<any>",
  "success": true
}

Headers

Authorization
string
required

Bearer Token

X-Project
string
required

Project UUID

Path Parameters

tableUUID
string
required

Table UUID

Body

application/json

Duplicate table name JSON

The body is of type object.

Response

201
application/json

Table duplicated

The response is of type object.