Method: matters.removePermissions
किसी खाते को, मामले में सहयोगी की भूमिका से हटाता है.
एचटीटीपी अनुरोध
POST https://vault.googleapis.com/v1/matters/{matterId}:removePermissions
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
matterId |
string
मैटर का आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में, नीचे दिए गए स्ट्रक्चर वाला डेटा होता है:
JSON के काेड में दिखाना |
{
"accountId": string
} |
फ़ील्ड |
accountId |
string
खाता आईडी.
|
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/ediscovery
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-27 (UTC) को अपडेट किया गया."],[[["Removes an account's collaborator access from a specific matter."],["Requires a POST request to the specified endpoint with matter ID and account ID."],["Utilizes gRPC Transcoding for URL structure and needs 'ediscovery' OAuth scope for authorization."],["Upon successful execution, it returns an empty response body, signifying the collaborator removal."]]],["The provided information describes how to remove an account as a collaborator from a matter using a POST request to `https://vault.googleapis.com/v1/matters/{matterId}:removePermissions`. The `matterId`, a string, is passed as a path parameter. The request body requires a JSON object with the `accountId` to remove, also a string. A successful request returns an empty JSON object. This action requires the `https://www.googleapis.com/auth/ediscovery` OAuth scope.\n"]]