App Logo
docs.google.com

Sheets: rename tab

Rename one tab of a Google Spreadsheet by gid. Returns the gid and the name as displayed after the rename. If no tab in the spreadsheet has that gid it stops with a clear error instead of renaming a different tab. Waits for the editor's save before resolving; needs edit rights.

Input

gid required

gid of the tab to rename (from sheets_list_tabs)

name required

New tab name

spreadsheetId required

Spreadsheet id or any full docs.google.com spreadsheet URL

Output

gid required
name required

Name as displayed after the rename

Start building not clicking