Met à jour le champ d'application (unité organisationnelle ou comptes) et les paramètres de requête d'une retenue. Vous ne pouvez pas ajouter de comptes individuels dans une obligation de conservation appliquée à une unité organisationnelle. L'inverse n'est pas autorisé non plus. Si vous essayez, les valeurs non prises en charge sont ignorées.
Requête HTTP
PUT https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)."]]