Forum Discussion
Deleted
Aug 17, 2018Delete a site collection via Microsoft Graph?
Hi, I'm taking my first baby steps with the Microsoft Graph and I was wondering how to perform a task such as deleting a classic team site. I know how to GET it as described in the official https://...
Fran_GRoy
May 27, 2021MCT
I know this is an old thread but would like to mention, for wanderers like me, that deleting files via Graph its possible: Eliminar un recurso DriveItem
Here's how the Drives API works - every user has access to multiple drives. The OneDrive for Business is just one of the drives. Every SharePoint document library is also a drive.
In general, drives are accessed as /drives/<drive-id> as the second example on the reference page shows - https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/drive_get.
The OneDrive for Business can be accessed as /me/drive as a convenience shortcut.
Simply /drive points to the Shared Documents document library from the root site collection.
Hope some of this helps