Add custodian sources


Create a new custodian source associated with an eDiscovery search.


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.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Not supported.

HTTP request

POST /security/cases/ediscoveryCases/{ediscoveryCaseId}/searches/{ediscoverySearchId}/custodianSources/$ref

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the dataSource object.

You can specify the following properties when you create a dataSource.

Property Type Description String String that defines the custodial object. See the example that follows.


If successful, this method returns a 204 No Content response code.



The following is an example of a request.

Content-Type: application/json

    "": ""


The following is an example of the response.

HTTP/1.1 204 No Content