Method: users.settings.cse.keypairs.disable
클라이언트 측 암호화 키 쌍을 사용 중지합니다. 인증된 사용자가 더 이상 키 쌍을 사용하여 수신 CSE 메일 텍스트를 복호화하거나 발신 CSE 메일에 서명할 수 없습니다.
다시 액세스하려면 keypairs.enable
를 사용하여 키 쌍을 사용 설정하세요.
30일 후에는 keypairs.obliterate
메서드를 사용하여 키 쌍을 영구적으로 삭제할 수 있습니다.
HTTP 요청
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
userId |
string
요청자의 기본 이메일 주소입니다. 인증된 사용자를 나타내려면 특수 값 me 를 사용하면 됩니다.
|
keyPairId |
string
끌 키 쌍의 식별자입니다.
|
응답 본문
성공한 경우 응답 본문에 CseKeyPair
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/gmail.settings.basic
https://www.googleapis.com/auth/gmail.settings.sharing
자세한 내용은 승인 가이드를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-05(UTC)
[null,null,["최종 업데이트: 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"]]