Editing Exclusion Settings
You can edit a list of the excluded mailbox folders.
Request
Request Headers
The request header must contain an authorization token of the current session.
Request Body
To edit the backup exclusion settings, you need to enter in the request body the required properties with new values. The properties you omit will remain unchanged.
The following table lists available request properties:
Property | Type | Description |
---|---|---|
deletedItems | boolean | Indicates that backup jobs will not process Deleted Items mailbox folder. |
drafts | boolean | Indicates that backup jobs will not process Drafts mailbox folder. |
junkEmail | boolean | Indicates that backup jobs will not process Junk email mailbox folder. |
outbox | boolean | Indicates that backup jobs will not process Outbox mailbox folder. |
syncIssues | boolean | Indicates that backup jobs will not process Sync Issues mailbox folder. |
litigationHold | boolean | Indicates that backup jobs will not process preserved items of mailboxes placed on Litigation Hold. |
inPlaceHold | boolean | Indicates that backup jobs will not process preserved items of mailboxes placed on In-Place Hold. |
Request Example
Request Body: { "deletedItems": true, "drafts": false, "junkEmail": false, "outbox": false, "syncIssues": false, "litigationHold": true, "inPlaceHold": true } |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
None.
Examples
Example 1
The example shows how to update the backup exclusion settings.