v1

latestOpenAPI 3.0.42026-07-1778875788.7 KB
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}/items/{driveItemId}/microsoft.graph.discardCheckout

Path parameters

driveIdstring required

The unique identifier of drive

driveItemIdstring required

The unique identifier of driveItem

Response

Success