Method: users.settings.updatePop
בקשת HTTP
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string
זוהי כתובת האימייל של המשתמש. ניתן להשתמש בערך המיוחד 'me' כדי לציין את המשתמש המאומת.
|
גוף הבקשה
גוף הבקשה מכיל מופע של PopSettings
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של PopSettings
.
היקפי הרשאות
נדרש היקף OAuth הבא:
https://www.googleapis.com/auth/gmail.settings.basic
למידע נוסף, ניתן לעיין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-05 (שעון UTC)."],[[["Updates the POP settings of a Gmail user."],["Requires a `PUT` request to a specific Gmail API endpoint with the user's email address."],["The request body should contain the desired POP settings in JSON format based on the PopSettings resource."],["Successful execution will return the updated POP settings in the response body."],["Authorization requires the `https://www.googleapis.com/auth/gmail.settings.basic` scope."]]],["The core content describes how to update POP settings via a PUT HTTP request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop`. The `userId` path parameter, either an email or \"me\", specifies the user. The request body includes `PopSettings`, and a successful response also contains `PopSettings`. Authorization requires the `https://www.googleapis.com/auth/gmail.settings.basic` OAuth scope. This action allows users to modify their POP settings.\n"]]