Actualiza el alcance (unidad organizativa o cuentas) y los parámetros de consulta de una retención. No puedes agregar cuentas a una retención que cubra una unidad organizativa ni unidades organizativas a una retención que cubra cuentas individuales. Si lo intentas, se ignorarán los valores no admitidos.
Solicitud HTTP
PUT https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-25 (UTC)"],[],[],null,["# Method: matters.holds.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates the scope (organizational unit or accounts) and query parameters of a hold. You cannot add accounts to a hold that covers an organizational unit, nor can you add organizational units to a hold that covers individual accounts. If you try, the unsupported values are ignored.\n\n### HTTP request\n\n`PUT https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|------------------------------|\n| `matterId` | `string` The matter ID. |\n| `holdId` | `string` The ID of the hold. |\n\n### Request body\n\nThe request body contains an instance of [Hold](/workspace/vault/reference/rest/v1/matters.holds#Hold).\n\n### Response body\n\nIf successful, the response body contains an instance of [Hold](/workspace/vault/reference/rest/v1/matters.holds#Hold).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/ediscovery`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]