Adds an account as a matter collaborator.
HTTP request
POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| matterId | 
 The matter ID. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "matterPermission": {
    object ( | 
| Fields | |
|---|---|
| matterPermission | 
 The account and its role to add. | 
| sendEmails | 
 To send a notification email to the added account, set to true. To not send a notification email, set to false. | 
| ccMe | 
 Only relevant if sendEmails is true. To CC the requestor in the email message, set to true. To not CC requestor, set to false. | 
Response body
If successful, the response body contains an instance of MatterPermission.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/ediscovery
For more information, see the Authorization guide.