Method: users.settings.forwardingAddresses.delete
बताए गए फ़ॉरवर्ड करने के पते को मिटा देता है. साथ ही, पुष्टि की प्रक्रिया को रद्द कर देता है.
यह तरीका, सेवा खाते के सिर्फ़ उन क्लाइंट के लिए उपलब्ध है जिन्हें पूरे डोमेन पर अधिकार दिया गया है.
एचटीटीपी अनुरोध
DELETE https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
userId |
string
उपयोगकर्ता का ईमेल पता. खास वैल्यू "मैं" का इस्तेमाल, पुष्टि किए गए उपयोगकर्ता को दिखाने के लिए किया जा सकता है.
|
forwardingEmail |
string
जिस ईमेल पते पर फ़ॉरवर्ड किया जाना है उसे मिटाया जाना है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब का मुख्य हिस्सा खाली रहता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
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) को अपडेट किया गया."],[[["Deletes a specified forwarding address and any associated verification for service account clients with domain-wide authority."],["Requires a `DELETE` request to the Gmail API with the user ID and forwarding email address in the path."],["Request body should be empty, and a successful deletion results in an empty response body."],["Needs authorization with the `https://www.googleapis.com/auth/gmail.settings.sharing` OAuth scope."]]],["This document outlines the process to delete a forwarding address in Gmail using a `DELETE` HTTP request. The request requires a `userId` and `forwardingEmail` in the URL path. The request body must be empty. Successful deletion yields an empty response body. This action is restricted to service accounts with delegated domain-wide authority. It needs `https://www.googleapis.com/auth/gmail.settings.sharing` OAuth scope for authorization. gRPC Transcoding syntax is utilized in the URL.\n"]]