Method: users.settings.sendAs.patch
दिए गए 'इस रूप में भेजें' उपनाम को पैच करें.
एचटीटीपी अनुरोध
PATCH https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
userId |
string
उपयोगकर्ता का ईमेल पता. खास वैल्यू "मैं" का इस्तेमाल, पुष्टि किए गए उपयोगकर्ता को दिखाने के लिए किया जा सकता है.
|
sendAsEmail |
string
ईमेल भेजने का उपनाम अपडेट किया जाना है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में SendAs
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में SendAs
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
इनमें से कोई एक OAuth स्कोप ज़रूरी है:
https://www.googleapis.com/auth/gmail.settings.basic
https://www.googleapis.com/auth/gmail.settings.sharing
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-05 (UTC) को अपडेट किया गया."],[[["This document outlines how to update a specific send-as alias in Gmail using the PATCH method."],["It involves providing the user's email address and the target send-as alias as path parameters."],["The request should include a `SendAs` object in the body and requires specific authorization scopes."],["A successful response will contain an updated `SendAs` object."]]],["This document outlines the process to update a specified send-as alias within Gmail settings. A `PATCH` request is sent to `https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}`, using the user's email and the alias to be updated as path parameters. The request body includes the updated `SendAs` instance, while a successful response returns the modified `SendAs` instance. Authorization requires specific OAuth scopes: `gmail.settings.basic` or `gmail.settings.sharing`.\n"]]