Skip to content

Commit 721850f

Browse files
authored
Merge pull request #26255 from microsoftgraph/2025-02-12-manjaris-hold-policy-parity
Hold Policy Parity
2 parents 4037cae + 542d3d7 commit 721850f

File tree

52 files changed

+1822
-208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1822
-208
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: "Delete siteSource"
3+
description: "Delete a siteSource object associated with an ediscoveryCustodian."
4+
author: "manjarisenthil"
5+
ms.date: 02/11/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "ediscovery"
8+
doc_type: apiPageType
9+
---
10+
11+
# Delete siteSource
12+
13+
Namespace: microsoft.graph.security
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Delete a [siteSource](../resources/security-sitesource.md) object associated with an [ediscoveryCustodian](../resources/security-ediscoverycustodian.md).
18+
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
20+
21+
## Permissions
22+
23+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
24+
25+
<!-- { "blockType": "permissions", "name": "security_ediscoverycustodian_delete_sitesources" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/security-ediscoverycustodian-delete-sitesources-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
``` http
35+
DELETE /security/cases/ediscoveryCases/{ediscoveryCaseId}/custodians/{ediscoveryCustodianId}/siteSources/{siteSourceId}
36+
```
37+
38+
## Request headers
39+
40+
|Name|Description|
41+
|:---|:---|
42+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
43+
44+
## Request body
45+
46+
Don't supply a request body for this method.
47+
48+
## Response
49+
50+
If successful, this method returns a `204 No Content` response code.
51+
52+
## Examples
53+
54+
### Request
55+
56+
The following example shows a request.
57+
<!-- {
58+
"blockType": "request",
59+
"name": "delete_ediscoverycustodian_sitesource"
60+
}
61+
-->
62+
``` http
63+
DELETE https://graph.microsoft.com/beta/security/cases/ediscoveryCases/4c551bc5-f6f8-435c-8391-d1a08f1ffd5b/custodians/2114ada2-3958-4945-bb6e-66fe9fca4772/siteSources/08345ae2-bc5a-4d71-a18b-c490993959ee
64+
```
65+
66+
### Response
67+
68+
The following example shows the response.
69+
70+
<!-- {
71+
"blockType": "response",
72+
"truncated": true
73+
}
74+
-->
75+
``` http
76+
HTTP/1.1 204 No Content
77+
```
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: "Delete userSource"
3+
description: "Delete a userSource object associated with an ediscoveryCustodian."
4+
author: "manjarisenthil"
5+
ms.date: 02/11/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "ediscovery"
8+
doc_type: apiPageType
9+
---
10+
11+
# Delete userSource
12+
13+
Namespace: microsoft.graph.security
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Delete a [userSource](../resources/security-usersource.md) object associated with an [ediscoveryCustodian](../resources/security-ediscoverycustodian.md).
18+
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
20+
21+
## Permissions
22+
23+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
24+
25+
<!-- { "blockType": "permissions", "name": "security_ediscoverycustodian_delete_usersources" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/security-ediscoverycustodian-delete-usersources-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
``` http
35+
DELETE /security/cases/ediscoveryCases/{ediscoveryCaseId}/custodians/{ediscoveryCustodianId}/userSources/{userSourceId}
36+
```
37+
38+
## Request headers
39+
40+
|Name|Description|
41+
|:---|:---|
42+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
43+
44+
## Request body
45+
46+
Don't supply a request body for this method.
47+
48+
## Response
49+
50+
If successful, this method returns a `204 No Content` response code.
51+
52+
## Examples
53+
54+
### Request
55+
56+
The following example shows a request.
57+
<!-- {
58+
"blockType": "request",
59+
"name": "delete_ediscoverycustodian_usersource"
60+
}
61+
-->
62+
``` http
63+
DELETE https://graph.microsoft.com/beta/security/cases/ediscoveryCases/4c551bc5-f6f8-435c-8391-d1a08f1ffd5b/custodians/2114ada2-3958-4945-bb6e-66fe9fca4772/userSources/08345ae2-bc5a-4d71-a18b-c490993959ee
64+
```
65+
66+
67+
### Response
68+
69+
The following example shows the response.
70+
71+
<!-- {
72+
"blockType": "response",
73+
"truncated": true
74+
}
75+
-->
76+
``` http
77+
HTTP/1.1 204 No Content
78+
```

api-reference/beta/api/security-ediscoverycustodian-list-sitesources.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "List siteSources"
3-
description: "Get the siteSource resources from the siteSources navigation property."
3+
description: "Get a list of the siteSource objects associated with an ediscoveryCustodian."
44
author: "SeunginLyu"
55
ms.localizationpriority: medium
66
ms.subservice: "ediscovery"
@@ -9,11 +9,12 @@ ms.date: 10/23/2024
99
---
1010

1111
# List siteSources
12+
1213
Namespace: microsoft.graph.security
1314

1415
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1516

16-
Get a list of the [siteSource](../resources/security-sitesource.md) objects associated with an [ediscoveryCustodian](../resources/security-ediscoverycustodian.md) or [ediscoveryHoldPolicy](../resources/security-ediscoveryholdpolicy.md).
17+
Get a list of the [siteSource](../resources/security-sitesource.md) objects associated with an [ediscoveryCustodian](../resources/security-ediscoverycustodian.md).
1718

1819
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
1920

@@ -31,11 +32,10 @@ Choose the permission or permissions marked as least privileged for this API. Us
3132
-->
3233
``` http
3334
GET /security/cases/ediscoveryCases/{ediscoveryCaseId}/custodians/{custodianId}/siteSources
34-
GET /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds/{ediscoveryHoldPolicyId}/userSources
3535
```
3636

3737
## Optional query parameters
38-
This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
38+
This method supports the `$filter`, `$orderby`, `$top`, and `$skip` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
3939

4040
## Request headers
4141
|Name|Description|

api-reference/beta/api/security-ediscoverycustodian-list-unifiedgroupsources.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "List custodian's unifiedGroupSources"
3-
description: "Get a list of the custodian's unifiedGroupSource objects and their properties."
2+
title: "List unifiedGroupSources"
3+
description: "Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian."
44
author: "SeunginLyu"
55
ms.localizationpriority: medium
66
ms.subservice: "ediscovery"
@@ -34,7 +34,7 @@ GET /security/cases/ediscoveryCases/{ediscoveryCaseId}/custodians/{custodianId}/
3434
```
3535

3636
## Optional query parameters
37-
This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
37+
This method supports the `$filter`, `$orderby`, `$top`, and `$skip` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
3838

3939
## Request headers
4040
|Name|Description|
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: "Delete siteSource"
3+
description: "Delete a siteSource object associated with an ediscoveryHoldPolicy."
4+
author: "manjarisenthil"
5+
ms.date: 02/11/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "ediscovery"
8+
doc_type: apiPageType
9+
---
10+
11+
# Delete siteSource
12+
13+
Namespace: microsoft.graph.security
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Delete a [siteSource](../resources/security-sitesource.md) object associated with an [ediscoveryHoldPolicy](../resources/security-ediscoveryholdpolicy.md).
18+
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
20+
21+
## Permissions
22+
23+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
24+
25+
<!-- { "blockType": "permissions", "name": "security_ediscoveryholdpolicy_delete_sitesources" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/security-ediscoveryholdpolicy-delete-sitesources-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
``` http
35+
DELETE /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds/{ediscoveryHoldPolicyId}/siteSources/{siteSourceId}
36+
```
37+
38+
## Request headers
39+
40+
|Name|Description|
41+
|:---|:---|
42+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
43+
44+
## Request body
45+
46+
Don't supply a request body for this method.
47+
48+
## Response
49+
50+
If successful, this method returns a `204 No Content` response code.
51+
52+
## Examples
53+
54+
### Request
55+
56+
The following example shows a request.
57+
<!-- {
58+
"blockType": "request",
59+
"name": "delete_ediscoveryholdpolicy_sitesource"
60+
}
61+
-->
62+
``` http
63+
DELETE https://graph.microsoft.com/beta/security/cases/ediscoveryCases/4c551bc5-f6f8-435c-8391-d1a08f1ffd5b/legalHolds/2114ada2-3958-4945-bb6e-66fe9fca4772/siteSources/08345ae2-bc5a-4d71-a18b-c490993959ee
64+
```
65+
66+
67+
### Response
68+
69+
The following example shows the response.
70+
71+
<!-- {
72+
"blockType": "response",
73+
"truncated": true
74+
}
75+
-->
76+
``` http
77+
HTTP/1.1 204 No Content
78+
```
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: "Delete userSource"
3+
description: "Delete a userSource object associated with an ediscoveryHoldPolicy."
4+
author: "manjarisenthil"
5+
ms.date: 02/11/2025
6+
ms.localizationpriority: medium
7+
ms.subservice: "ediscovery"
8+
doc_type: apiPageType
9+
---
10+
11+
# Delete userSource
12+
13+
Namespace: microsoft.graph.security
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Delete a [userSource](../resources/security-usersource.md) object associated with an [ediscoveryHoldPolicy](../resources/security-ediscoveryholdpolicy.md).
18+
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
20+
21+
## Permissions
22+
23+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
24+
25+
<!-- { "blockType": "permissions", "name": "security_ediscoveryholdpolicy_post_usersources" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/security-ediscoveryholdpolicy-post-usersources-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
``` http
35+
DELETE /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds/{ediscoveryHoldPolicyId}/userSources/{userSourceId}
36+
```
37+
38+
## Request headers
39+
40+
|Name|Description|
41+
|:---|:---|
42+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
43+
44+
## Request body
45+
46+
Don't supply a request body for this method.
47+
48+
## Response
49+
50+
If successful, this method returns a `204 No Content` response code.
51+
52+
## Examples
53+
54+
### Request
55+
56+
The following example shows a request.
57+
<!-- {
58+
"blockType": "request",
59+
"name": "delete_ediscoveryusersource"
60+
}
61+
-->
62+
``` http
63+
DELETE https://graph.microsoft.com/beta/security/cases/ediscoveryCases/4c551bc5-f6f8-435c-8391-d1a08f1ffd5b/legalHolds/2114ada2-3958-4945-bb6e-66fe9fca4772/userSources/08345ae2-bc5a-4d71-a18b-c490993959ee
64+
```
65+
66+
### Response
67+
68+
The following example shows the response.
69+
70+
<!-- {
71+
"blockType": "response",
72+
"truncated": true
73+
}
74+
-->
75+
``` http
76+
HTTP/1.1 204 No Content
77+
```

0 commit comments

Comments
 (0)