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

Method: matters.holds.accounts.create

Adds an account to a hold. Accounts can be added only to a hold that does not have an organizational unit set. If you try to add an account to an organizational unit-based hold, an error is returned.

HTTP request

POST https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}/accounts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
matterId

string

The matter ID.

holdId

string

The hold ID.

Request body

The request body contains an instance of HeldAccount.

Response body

If successful, the response body contains a newly created instance of HeldAccount.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/ediscovery