इससे क्लाइंट-साइड एन्क्रिप्शन की कुंजी का जोड़ा बंद हो जाता है. पुष्टि किया गया उपयोगकर्ता, सीएसई के आने वाले मैसेज टेक्स्ट को डिक्रिप्ट करने या सीएसई (क्लाइंट-साइड एन्क्रिप्शन) मेल पर हस्ताक्षर करने के लिए, अब कुंजी के पेयर का इस्तेमाल नहीं कर सकता.
फिर से ऐक्सेस पाने के लिए, keypairs.enable का इस्तेमाल करके कुंजी के जोड़े को चालू करें.
कुंजी के जोड़े को 30 दिनों के बाद हमेशा के लिए मिटाया जा सकता है. इसके लिए, keypairs.obliterate तरीके का इस्तेमाल करें.
एचटीटीपी अनुरोध
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया."],[[["Turns off a client-side encryption key pair, preventing the authenticated user from decrypting incoming or signing outgoing CSE messages."],["To regain access to the key pair, use the `keypairs.enable` method within 30 days, after which it can be permanently deleted with `keypairs.obliterate`."],["This action is performed through a POST request to the specified endpoint with `userId` and `keyPairId` as path parameters."],["Requires specific authorization scopes (`gmail.settings.basic` or `gmail.settings.sharing`) for the request to be processed."]]],["This API endpoint disables a client-side encryption key pair via a `POST` request to a specific URL including `userId` and `keyPairId` path parameters. The request body is empty. Upon success, the API returns a `CseKeyPair` instance. Disabling a key prevents decryption of incoming messages and signing of outgoing mail. The key can be re-enabled or permanently deleted after 30 days. Access requires specific OAuth scopes, either `gmail.settings.basic` or `gmail.settings.sharing`.\n"]]