Team Drives-related fields in the Vault API are being replaced. Learn more.

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 MatterPermission to add.

sendEmails

boolean

True to send notification email to the added account. False to not send notification email.

ccMe

boolean

Only relevant if sendEmails is true. True to CC requestor in the email message. False to not CC requestor.

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

Try it!