Method: users.settings.updatePop
पीओपी सेटिंग अपडेट करता है.
एचटीटीपी अनुरोध
PUT https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/pop
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
userId |
string
उपयोगकर्ता का ईमेल पता. खास वैल्यू "मैं" का इस्तेमाल, पुष्टि किए गए उपयोगकर्ता को दिखाने के लिए किया जा सकता है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में PopSettings
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में PopSettings
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/gmail.settings.basic
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]