Lark icon

Lark

Consume Lark API

Actions118

表格 → 删除行列

AI-generated

Summary

Delete a range of rows or columns from a Lark spreadsheet worksheet. Choose the spreadsheet and sheet, select ROWS or COLUMNS, and provide the required start and end positions.

Inputs

  • authentication — Choose Tenant Access Token or User Access Token authentication.
  • spreadsheet_id (required) — Select a spreadsheet from the list or enter its ID.
  • sheet_id (required) — Select a worksheet from the list or enter its ID.
  • majorDimension (required) — Choose ROWS or COLUMNS to specify what to delete.
  • startIndex (required) — Starting position for the deletion; must be at least 1.
  • endIndex (required) — Ending position for the deletion; must be at least 1.

Output shape

A list of items containing the Lark API response.

The operation sends a deletion request for the selected dimension and range. The source pack does not include the operation handler, so the exact response fields and whether the API treats the end position as inclusive are not shown.

Links

Discussion