Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 362 Bytes

File metadata and controls

21 lines (15 loc) · 362 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')
	.update(workbookFormatProtection);