Skip to content

Commit 6ba5c41

Browse files
Comments resolved.
1 parent 4603a05 commit 6ba5c41

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

api-reference/beta/api/protectionrulebase-deleteandunprotect.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
4242
-->
4343
``` http
4444
POST /solutions/backupRestore/oneDriveForBusinessProtectionPolicies/{oneDriveForBusinessProtectionPolicyId}/driveInclusionRules/{driveProtectionRuleId}/deleteAndUnprotect
45+
POST /solutions/backupRestore/exchangeProtectionPolicies/{exchangeProtectionPolicyId}/mailboxInclusionRules/{mailboxProtectionRuleId}/deleteAndUnprotect
4546
```
4647

4748
## Request headers
@@ -73,7 +74,7 @@ The following example shows a request.
7374
}
7475
-->
7576
``` http
76-
POST https://graph.microsoft.com/beta/solutions/backupRestore/driveInclusionRules/40005fb9-2682-47bc-a8f6-6c38c1ff498d/deleteAndUnprotect
77+
POST https://graph.microsoft.com/beta/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/71633878-8321-4950-bfaf-ed285bdd1461/driveInclusionRules/61633878-8321-4950-bfaf-ed285bdd1461/deleteAndUnprotect
7778
```
7879

7980
#### Response
@@ -93,7 +94,7 @@ Content-Type: application/json
9394
{
9495
"value": {
9596
"@odata.type": "https://graph.microsoft.com/beta/$metadata#microsoft.graph.protectionRuleBase",
96-
"id": "40005fb9-2682-47bc-a8f6-6c38c1ff498d",
97+
"id": "61633878-8321-4950-bfaf-ed285bdd1461",
9798
"status": "deleteRequested",
9899
"createdDateTime": "2025-01-15T15:07:44.3043505Z",
99100
"lastModifiedDateTime": "2025-01-15T14:42:12.6779064Z",
@@ -111,7 +112,7 @@ Content-Type: application/json
111112

112113
### Example 2: Delete and unprotect a mailboxInclusionRule associated with an Exchange protection policy
113114

114-
The following example shows how to update a **mailboxInclusionRule** associated with an [exchangeProtectionPolicy](../resources/exchangeprotectionpolicy.md).
115+
The following example shows how to delete a **mailboxInclusionRule** associated with a [exchangeProtectionPolicy](../resources/exchangeprotectionpolicy.md).
115116

116117
#### Request
117118

@@ -122,7 +123,7 @@ The following example shows a request.
122123
}
123124
-->
124125
``` http
125-
POST https://graph.microsoft.com/beta/solutions/backupRestore/mailboxInclusionRules/52147fb9-2682-47bc-a8f6-6c38c1ff498d/deleteAndUnprotect
126+
POST https://graph.microsoft.com/beta/solutions/backupRestore/exchangeProtectionPolicies/6b0991b9-e7d4-4794-86fa-2a3f2a4e3177/mailboxInclusionRules/52147fb9-2682-47bc-a8f6-6c38c1ff498d/deleteAndUnprotect
126127
```
127128

128129
#### Response

0 commit comments

Comments
 (0)