title | description | author | ms.localizationpriority | ms.prod | doc_type |
---|---|---|---|---|---|
List legalHolds |
Get the legalHold resources from the legalHolds navigation property. |
mahage-msft |
medium |
ediscovery |
resourcePageType |
Namespace: microsoft.graph.ediscovery
[!INCLUDE beta-disclaimer]
Get the legalHolds that are applied to a case.
[!INCLUDE national-cloud-support]
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) | eDiscovery.Read.All, eDiscovery.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Not supported. |
GET /compliance/ediscovery/cases/{caseId}/legalHolds
This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK
response code and a collection of legalHold objects in the response body.
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/legalHolds
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": [
{
"@odata.type": "#microsoft.graph.ediscovery.legalHold",
"id": "700cd868-d868-700c-68d8-0c7068d80c70",
"description": "String",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"lastModifiedDateTime": "String (timestamp)",
"isEnabled": "Boolean",
"status": "String",
"contentQuery": "String",
"errors": [
"String"
],
"displayName": "String",
"createdDateTime": "String (timestamp)"
}
]
}