Getting Excluded Items
You can get a list of items that have been excluded from the retention policy for the specified organization.
The request header must contain an authorization token of the current session.
The following parameter must be specified in the URL of the request:
Specifies the identification number of the Office 365 organization. For more information on how to get this parameter, see Getting Organizations.
The server returns the following response to the client.
A successfully completed operation returns a response code 200 OK.
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
The length of the response body.
The media type and syntax of the response body message: application/json; charset=utf-8
The response contains the following information:
Indicates that the Contacts folder will not be removed by the retention policy.
Indicates that the Calendar will not be removed by the retention policy.
The example returns a resource representation of mailbox exclusion settings configured for backup jobs.
Authorization: Bearer <Access-Token>