Method: matters.addPermissions

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

string

The matter ID.

Request body

The request body contains data with the following structure:

JSON representation
{
  "matterPermission": {
    object (MatterPermission)
  },
  "sendEmails": boolean,
  "ccMe": boolean
}
Fields
matterPermission

object (MatterPermission)

The account and its role to add.

sendEmails

boolean

To send a notification email to the added account, set to true. To not send a notification email, set to false.

ccMe

boolean

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