Users.settings.sendAs.smimeInfo: setDefault

Requires authorization

Sets the default S/MIME config for the specified send-as alias. Try it now.

Request

HTTP request

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

Parameters

Parameter name Value Description
Path parameters
id string The immutable ID for the SmimeInfo.
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

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

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

フィードバックを送信...

ご不明な点がありましたら、Google のサポートページをご覧ください。