Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 400 Bytes

File metadata and controls

23 lines (17 loc) · 400 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const printerShare = {
  displayName: 'ShareName',
  allowAllUsers: true,
  'printer@odata.bind': 'https://graph.microsoft.com/beta/print/printers/{id}'
};

await client.api('/print/shares/{id}')
	.version('beta')
	.update(printerShare);