directory resource type (deleted items)

Namespace: microsoft.graph


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 a deleted item in the directory. When an item is deleted, it is added to the deleted items "container". Deleted items will remain available to restore for up to 30 days. After 30 days, the items are permanently deleted.

Currently, deleted items functionality is only supported for the application, group and user resources.


Method Return Type Description
Get deleted item directoryObject Gets the properties of a deleted item.
Restore deleted item directoryObject Restores a recently deleted item.
List deleted items directoryObject collection Gets a list of recently deleted items.
Permanently delete an item None Permanently deletes an item.
List deleted items owned by a user directoryObject collection Lists directory items owned by a user.
List featureRolloutPolicies featureRolloutPolicy collection Retrieve a list of featureRolloutPolicy objects.
Create featureRolloutPolicy featureRolloutPolicy Create a new featureRolloutPolicy object.
Get featureRolloutPolicy featureRolloutPolicy Retrieve the properties and relationships of featurerolloutpolicy object.
Update featureRolloutPolicy featureRolloutPolicy Update the properties of featurerolloutpolicy object.
Delete featureRolloutPolicy None Delete a featureRolloutPolicy object.


Property Type Description
id String A unique identifier for the object; for example, 12345678-9abc-def0-1234-56789abcde. Key. Not nullable. Read-only.


Relationship Type Description
deleteditems directoryObject collection Recently deleted items. Read-only. Nullable.
featureRolloutPolicies featureRolloutPolicy collection Nullable.

JSON representation

Here is a JSON representation of the resource.

  "id": "String (identifier)"