{ "opencollection": "1.0.0", "info": { "name": "Microsoft Purview Account Accounts Legal Holds API", "version": "2021-12-01" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Legal Holds", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Purview List legal holds", "type": "http" }, "http": { "method": "GET", "url": "https://management.azure.com/security/cases/ediscoveryCases/:ediscoveryCaseId/legalHolds", "params": [ { "name": "ediscoveryCaseId", "value": "", "type": "path" } ] }, "docs": "Get the list of legal holds associated with an eDiscovery case." }, { "info": { "name": "Microsoft Purview Create a legal hold", "type": "http" }, "http": { "method": "POST", "url": "https://management.azure.com/security/cases/ediscoveryCases/:ediscoveryCaseId/legalHolds", "params": [ { "name": "ediscoveryCaseId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a legal hold policy within an eDiscovery case." } ] } ], "bundled": true }