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

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 · object[] | null
fieldId
string
required

The id of the field.

order
enum<string>
required
Available options:
asc,
desc