drives.driveItem
Invoke action copy
post/drives/{driveId}/root:{pathToItem}:/microsoft.graph.copy
Request
- Base URLhttps://graph.microsoft.com/v1.0
- AuthOAuth 2Authorization codehttps://login.microsoftonline.com/common/oauth2/v2.0/authorizeToken URLhttps://login.microsoftonline.com/common/oauth2/v2.0/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
driveIdstring required
The unique identifier of drive
pathToItemstring required
Path relative to root folder
Request body
Response
Success
Changes
No operation changes recorded.