Method: users.settings.sendAs.smimeInfo.delete
指定した送信元エイリアスの S/MIME 設定を削除します。
HTTP リクエスト
DELETE https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
userId |
string
ユーザーのメールアドレス。特別な値 me を使用すると、認証済みユーザーを示すことができます。
|
sendAsEmail |
string
このエイリアスを使用して送信されたメールの「From:」ヘッダーに表示されるメールアドレスです。
|
id |
string
SmimeInfo の不変の ID です。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/gmail.settings.basic
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。"],[[["Deletes the specified S/MIME config for a given send-as alias using a DELETE request."],["Requires the user's email address, send-as email address, and S/MIME config ID as path parameters."],["The request body should be empty, and a successful response will also be empty."],["Needs authorization with either `https://www.googleapis.com/auth/gmail.settings.basic` or `https://www.googleapis.com/auth/gmail.settings.sharing` scope."]]],["This document outlines the process to delete an S/MIME configuration for a send-as alias using a DELETE HTTP request. The request URL requires the `userId`, `sendAsEmail`, and `id` as path parameters, identifying the user, send-as alias, and S/MIME configuration respectively. The request body must be empty, and a successful operation returns an empty response body. Authorization necessitates either the `gmail.settings.basic` or `gmail.settings.sharing` OAuth scope.\n"]]