v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137956179.1 KB
users

Turns on a client-side encryption key pair that was turned off. The key pair becomes active again for any associated client-side encryption identities. For administrators managing identities and keypairs for users in their organization, requests require authorization with a service account that has domain-wide delegation authority to impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope. For users managing their own identities and keypairs, requests require hardware key encryption turned on and configured.

post/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable

Path parameters

userIdstring required

The requester's primary email address. To indicate the authenticated user, you can use the special value me.

keyPairIdstring required

The identifier of the key pair to turn on.

Request body

EnableCseKeyPairRequest required

Requests to turn on a client-side encryption key pair.

Response

Successful response