PUT
/
table
/
{tableId}
/
view
/
{viewId}
/
record-order
curl --request PUT \
  --url https://app.teable.io/api/table/%7BtableId%7D/view/%7BviewId%7D/record-order \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"anchorId":"string","position":"before","recordIds":["string"]}'

Authorizations

Authorization
string
header
required

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

Path Parameters

tableId
string
required
viewId
string
required

Body

application/json
anchorId
string
required

Id of the record that you want to move other records around

position
enum<string>
required
Available options:
before,
after
recordIds
string[]
required

Ids of those records you want to move