Crea y configura una identidad de encriptación del cliente autorizada para enviar correo desde la cuenta de usuario. Google publica el certificado S/MIME en un directorio compartido para todo el dominio para que las personas de una organización de Google Workspace puedan encriptar y enviar correos electrónicos a la identidad.
Solicitud HTTP
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/identities
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-09-05 (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."]]],[]]