Skip to main content
PUT
/
base
/
{baseId}
/
node
/
{nodeId}
/
move
cURL
curl --request PUT \
  --url http://127.0.0.1:3000/api/base/{baseId}/node/{nodeId}/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parentId": "<string>",
  "anchorId": "<string>",
  "position": "before"
}
'
{
  "id": "<string>",
  "parentId": "<string>",
  "resourceId": "<string>",
  "order": 123,
  "resourceType": "table",
  "resourceMeta": {
    "name": "<string>",
    "icon": "<string>",
    "defaultViewId": "<string>"
  },
  "parent": {
    "id": "<string>"
  },
  "children": [
    {
      "id": "<string>",
      "order": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required
nodeId
string
required

Body

application/json
parentId
string | null
anchorId
string
position
enum<string>
Available options:
before,
after

Response

200 - application/json

Updated node info

id
string
required
parentId
string | null
required
resourceId
string
required
order
number
required
resourceType
enum<string>
required
Available options:
table
resourceMeta
object
required
parent
object
children
object[] | null