Hi,
I am trying to use this method to create a legal hold.
API: POST /compliance/ediscovery/cases/{caseId}/legalHolds
document link: https://docs.microsoft.com/en-us/graph/api/ediscovery-case-post-legalholds?view=graph-rest-beta&tabs=http
As per the document,
Here is the request JSON
{
"@odata.type": "#microsoft.graph.ediscovery.legalHold",
"description": "String",
"createdBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"isEnabled": "Boolean",
"status": "String",
"contentQuery": "String",
"errors": [
"String"
],
"displayName": "String"
}
Here there is no example/option to pass "email-id/Usersource" in which we can create a hold.
Can you please tell me, how can I create a JSON for passing "email-ids/Usersources"?
Thank You!