Google Docs Batch Update icon

Google Docs Batch Update

Build and send Google Docs batch update requests

Create Named Ranges Request → Delete Named Range

AI-generated

Summary

Deletes a named range from a Google Doc using the Google Docs Batch Update API.

Inputs

  • namedRangeReference (required) — Identifier of the named range to delete. Select either the ID (kix.xxxxxxxx) or the Name of the range.
  • additionalFields — Optional collection of additional fields. Currently includes 'tabIds' for specifying the target tab ID or an array of tab IDs.

Output shape

An array of items with the original input item structure and an additional '' property containing the API response object.

Returns the raw API response (Google Docs Batch Update response) in the item's '' field. The operation modifies the document immediately upon execution.

Examples

Example 1: Remove a named range by name

Set Named Range to 'My Range' and leave Additional Fields empty.

Example 2: Remove a named range by ID

Select ID mode in the Named Range resource locator and enter the specific ID (e.g., 'kix.123456').

Example 3: Delete a named range from a specific tab

Enter the tab ID or array of tab IDs in the 'tabIds' field within Additional Fields.

Links

Discussion