Lark icon

Lark

Consume Lark API

Actions118

表格 → 增加行列

AI-generated

Summary

Add a specified number of rows or columns to a sheet in a Lark spreadsheet. Choose the spreadsheet and sheet, select rows or columns, and set the number to add.

Inputs

  • authentication — Choose Tenant Access Token or User Access Token authentication.
  • spreadsheet_id (required) — Spreadsheet ID, entered directly or selected from the list.
  • sheet_id (required) — Sheet ID, entered directly or selected from the chosen spreadsheet.
  • majorDimension (required) — Choose ROWS to add rows or COLUMNS to add columns.
  • length (required) — Number of rows or columns to add; must be an integer from 1 to 5000. Defaults to 1.

Output shape

A list of items containing the Lark API response for each input item.

The operation makes a Lark API request for each input item. With Continue On Fail enabled, a failed item is returned with an error field.

Links

Discussion