Actions40
- Create Bullets Request Actions
- Create Document Request Actions
- Create Headers & Footers Request Actions
- Create Images Request Actions
- Create Named Ranges Request Actions
- Create Tables Request Actions
- Create Tabs Request Actions
- Create Text Request Actions
- Send Request Actions
Create Tables Request → Delete Table Column
AI-generatedSummary
Removes a column from a Google Docs table within the specified location.
Inputs
- index (required) — The zero-based index of the column to delete, in UTF-16 code units, relative to the beginning of the segment specified by segmentId.
- columnIndex — The zero-based index of the column to delete. Defaults to 0.
- segmentId — The ID of the header, footer, or footnote containing the table. An empty string signifies the document's body.
- tabId — The ID of the tab containing the table. When omitted, the request applies to the first tab.
Output shape
a single success item (execution result)
Executes a batch update request; returns a success item if the request is valid.
Examples
Example 1: Delete the first column of a table in the document body.
index=0, segmentId=''
Example 2: Delete a specific column in a table located in a specific tab.
index=2, tabId='tab_12345'