drives.driveItem
Invoke action discardCheckout
Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions.
post/drives/{driveId}/root/microsoft.graph.discardCheckout
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
Response
Success
Changes
No operation changes recorded.