Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 352 Bytes

File metadata and controls

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

const client = Client.init(options);

const driveItem = {
  name: 'New Folder',
  folder: { },
  '@microsoft.graph.conflictBehavior': 'rename'
};

await client.api('/me/drive/root/children')
	.version('beta')
	.post(driveItem);