Method: users.settings.sendAs.verify
שולח הודעת אימות לכתובת האימייל החלופית שצוינה. סטטוס האימות חייב להיות pending
.
השיטה הזו זמינה רק ללקוחות של חשבונות שירות שקיבלו סמכות ברמת הדומיין.
בקשת HTTP
POST https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string
זוהי כתובת האימייל של המשתמש. ניתן להשתמש בערך המיוחד 'me' כדי לציין את המשתמש המאומת.
|
sendAsEmail |
string
כתובת האימייל החלופית 'שלח בתור' לאימות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
נדרש היקף OAuth הבא:
https://www.googleapis.com/auth/gmail.settings.sharing
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]