Users.settings.sendAs.smimeInfo: insert

Requires authorization

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key. Try it now.

Request

HTTP request

POST https://www.googleapis.com/gmail/v1/users/userId/settings/sendAs/sendAsEmail/smimeInfo

Parameters

Parameter name Value Description
Path parameters
sendAsEmail string The email address that appears in the "From:" header for mail sent using this alias.
userId string The user's email address. The special value me can be used to indicate the authenticated user.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/gmail.settings.basic
https://www.googleapis.com/auth/gmail.settings.sharing

Request body

In the request body, supply a Users.settings.sendAs.smimeInfo resource.

Response

If successful, this method returns a Users.settings.sendAs.smimeInfo resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Need help? Visit our support page.