Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 636 Bytes

File metadata and controls

22 lines (15 loc) · 636 Bytes
description Automatically generated file. DO NOT MODIFY
<?php
use Microsoft\Graph\GraphServiceClient;
use Microsoft\Graph\Generated\Models\WorkbookTable;


$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);

$requestBody = new WorkbookTable();
$requestBody->setName('name-value');
$requestBody->setShowHeaders(true);
$requestBody->setShowTotals(true);
$requestBody->setStyle('style-value');

$result = $graphServiceClient->drives()->byDriveId('drive-id')->items()->byDriveItemId('driveItem-id')->workbook()->tables()->byWorkbookTableId('workbookTable-id')->patch($requestBody)->wait();