跳转到主要内容
PUT
/
table
/
{tableId}
/
view
/
{viewId}
/
record-order
cURL
curl --request PUT \
  --url https://app.teable.ai/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"]}'

授权

Authorization
string
header
必填

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

路径参数

tableId
string
必填
viewId
string
必填

请求体

application/json
anchorId
string
必填

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

position
enum<string>
必填
可用选项:
before,
after
recordIds
string[]
必填

Ids of those records you want to move

Maximum array length: 1000

响应

200

Successfully update.

Last modified on March 5, 2026