Redigera

Dela via


recycleBinItem resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents information about a deleted item in a recycleBin of a SharePoint site.

Inherits from baseItem.

Methods

Method Return Type Description
List recycleBinItem collection Get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site.
Delete None. Permanently delete recycleBinItem objects from the recycleBin of a fileStorageContainer.
Restore recycleBinItem collection Restore recycleBinItem objects from the recycleBin of a fileStorageContainer.

Properties

Property Type Description
deletedDateTime DateTimeOffset Date and time when the item was deleted. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
deletedFromLocation String Relative URL of the list or folder that originally contained the item.
id String Unique identifier of the delete transaction. Inherited from baseItem.
name String Name of the item. Inherited from baseItem.
size Int64 Size of the item in bytes.

JSON Representation

The following JSON representation shows the resource type.

{
  "deletedDateTime": "String (timestamp)",
  "deletedFromLocation": "String",
  "id": "String (identifier)",
  "name": "String",
  "size": "Int64"
}