Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 374 Bytes

File metadata and controls

22 lines (16 loc) · 374 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const workbookNamedItem = {
  name: 'test5',
  reference: '=Sheet1!$F$15:$N$27',
  comment: 'Comment for the named item'
};

await client.api('/me/drive/items/{id}/workbook/names/add')
	.post(workbookNamedItem);