Delete Rows
delete_rowsPermanently removes a specified range of rows from a sheet tab, moving lower rows up. Specify the starting row and number of rows to delete.
Instructions
Permanently deletes a contiguous block of rows from a sheet tab, shifting the rows below upward. Deletes count rows (default 1) starting at the 1-based start_row. Destructive — cannot be undone via the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of consecutive rows to delete, starting at start_row (default 1) | |
| start_row | Yes | 1-based index of the first row to delete | |
| sheet_name | Yes | Target sheet tab name | |
| spreadsheet | Yes | Target spreadsheet: a full Google Sheets URL (https://docs.google.com/spreadsheets/d/<ID>/edit...) or a bare spreadsheet ID |