Skip to main content
POST
/
v1
/
folders
/
move-table
Move a table into or out of a folder
curl --request POST \
  --url https://api.databar.ai/v1/folders/move-table \
  --header 'Content-Type: application/json' \
  --header 'x-apikey: <x-apikey>' \
  --data '
{
  "table_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "folder_id": 123
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-apikey
string
required

API Key for authentication

Body

application/json
table_uuid
string<uuid>
required

UUID of the table to move.

folder_id
integer | null

ID of the target folder. Pass null or omit to remove the table from its current folder.

Response

Table moved successfully