Creates and configures a client-side encryption identity that's authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity.
HTTP request
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/identities
[[["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."],[[["Creates and configures a client-side encryption identity authorized to send mail from the user account, with the S/MIME certificate published to a shared directory for organization-wide encrypted communication."],["Uses an HTTP POST request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/identities`, replacing `{userId}` with the user's email address or `me`."],["Requires a request body containing a `CseIdentity` object and returns a `CseIdentity` object upon successful creation."],["Needs authorization with either `https://www.googleapis.com/auth/gmail.settings.basic` or `https://www.googleapis.com/auth/gmail.settings.sharing` scope."]]],[]]