Method: users.settings.sendAs.verify
指定した送信元エイリアスのアドレスに確認メールを送信します。確認ステータスは pending
である必要があります。
この方法は、ドメイン全体の権限を委任されたサービス アカウント クライアントでのみ使用できます。
HTTP リクエスト
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
userId |
string
ユーザーのメールアドレス。特別な値「me」を使用して、認証済みユーザーを示すことができます。
|
sendAsEmail |
string
確認する送信元エイリアス。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/gmail.settings.sharing
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-05 UTC。
[null,null,["最終更新日 2024-09-05 UTC。"],[[["Sends a verification email to a specified send-as alias address which must have a 'pending' verification status."],["This method is exclusively for service account clients that have been delegated domain-wide authority."],["The request is sent as a POST request to the specified URL with path parameters for user ID and send-as email address."],["Requires the `https://www.googleapis.com/auth/gmail.settings.sharing` OAuth scope for authorization."]]],["This content outlines how to send a verification email to a specified send-as alias in Gmail using the API. The core action is a `POST` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify`. The `userId` and `sendAsEmail` are specified as path parameters. No request body is required. A successful request returns an empty response. This operation is for service account clients with domain-wide authority, and requires the `https://www.googleapis.com/auth/gmail.settings.sharing` authorization scope.\n"]]