Turns off a client-side encryption key pair. The authenticated user can no longer use the key pair to decrypt incoming CSE message texts or sign outgoing CSE mail.
To regain access, use the keypairs.enable to turn on the key pair.
After 30 days, you can permanently delete the key pair by using the keypairs.obliterate method.
HTTP request
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["Disables a client-side encryption key pair, preventing the authenticated user from decrypting incoming or signing outgoing CSE messages."],["To restore access, use the `keypairs.enable` method; to permanently delete after 30 days, use the `keypairs.obliterate` method."],["Requires a POST request to a specific URL with the user ID and key pair ID as path parameters."],["Utilizes OAuth scopes for authorization, specifically `gmail.settings.basic` or `gmail.settings.sharing`."]]],[]]