matters

POST /v1/matters/{matterId}:addPermissions

Changed on

Adds an account as a matter collaborator.

Request

  • Base URL
    https://vault.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/ediscovery
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/ediscovery
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

matterIdstring required

The matter ID.

Request body

ccMeboolean

Only relevant if sendEmails is true. To CC the requestor in the email message, set to true. To not CC requestor, set to false.

sendEmailsboolean

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

Response

Successful response

accountIdstring

The account ID, as provided by the Admin SDK.

role'ROLE_UNSPECIFIED' | 'COLLABORATOR' | 'OWNER'

The user's role for the matter.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status