Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 340 Bytes

File metadata and controls

23 lines (17 loc) · 340 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}')
	.update(driveItem);