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

Method: matters.holds.accounts.create

Adds a HeldAccount to a hold. Accounts can only be added to a hold that has no held_org_unit set. Attempting to add an account to an OU-based hold will result in an error.

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

Try it!