/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable
POST
/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disableTurns 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 EnableCseKeyPair to turn on the key pair. After 30 days, you can permanently delete the key pair by using the ObliterateCseKeyPair method.
Request
Path Params
userId
string
required
The requester's primary email address. To indicate the authenticated user, you can use the special value me
.
keyPairId
string
required
The identifier of the key pair to turn off.
Body Params application/json
No schema defined
Example
Not configured
Request samples
Responses
Successful response(200)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: a year ago