List deleted items (directory objects) owned by a user

Namespace: microsoft.graph

Retrieve a list of recently deleted application and group objects owned by the specified user.

This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Group.Read.All, Group.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Group.Read.All, Group.ReadWrite.All

HTTP request

POST /directory/deletedItems/getUserOwnedObjects

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

The request body requires the following parameters:

Parameter Type Description
userId String ID of the owner.
type String Type of owned objects to return; Group and Application are currently the only supported values.


Successful requests return 200 OK response codes; the response object includes directory (deleted items) properties.



Here is an example of the request.

Content-type: application/json



Here is an example of the response. Note: This response object may be truncated for brevity. All supported properties are returned from actual calls.

HTTP/1.1 200 OK
Content-type: application/json

  "value": [
      "@odata.type": "",
      "id": "bfa7033a-7367-4644-85f5-95aaf385cbd7",
      "deletedDateTime": "2018-04-01T12:39:16Z",
      "classification": null,
      "createdDateTime": "2017-03-22T12:39:16Z",
      "description": null,
      "displayName": "Test",
      "groupTypes": [
      "mail": "",
      "mailEnabled": true,
      "mailNickname": "Test",
      "membershipRule": null,
      "membershipRuleProcessingState": null,
      "preferredDataLocation": null,
      "preferredLanguage": null,
      "proxyAddresses": [
      "renewedDateTime": "2017-09-22T22:30:39Z",
      "securityEnabled": false,
      "theme": null,
      "visibility": "Public"