v1

latestOpenAPI 3.0.42026-07-1778875788.7 KB
drives.driveItem

Invoke action restore

Restore a driveItem that has been deleted and is currently in the recycle bin.

post/drives/{driveId}/items/{driveItemId}/microsoft.graph.restore

Path parameters

driveIdstring required

The unique identifier of drive

driveItemIdstring required

The unique identifier of driveItem

Request body

namestring nullable

Response

Success

idstring

The unique identifier for an entity. Read-only.

createdDateTimestring date-time

Date and time of item creation. Read-only.

descriptionstring nullable

Provides a user-visible description of the item. Optional.

eTagstring nullable

ETag for the item. Read-only.

lastModifiedDateTimestring date-time

Date and time the item was last modified. Read-only.

namestring nullable

The name of the item. Read-write.

webUrlstring nullable

URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.

contentstring base64url nullable

The content stream, if the item represents a file.

cTagstring nullable

An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only.

rootRoot
sizenumber nullable

Size of the item in bytes. Read-only.

webDavUrlstring nullable

WebDAV compatible URL for the item.