Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 380 Bytes

File metadata and controls

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

const client = Client.init(options);

const workbookFormatProtection = {
  locked: true,
  formulaHidden: true
};

await client.api('/me/drive/items/{id}/workbook/names/{name}/range/format/protection')
	.version('beta')
	.update(workbookFormatProtection);