Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 356 Bytes

File metadata and controls

24 lines (18 loc) · 356 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const driveItem = {
  parentReference: {
    id: 'new-parent-folder-id'
  },
  name: 'new-item-name.txt'
};

await client.api('/me/drive/items/{item-id}')
	.version('beta')
	.update(driveItem);