Method: users.settings.delegates.delete
নির্দিষ্ট প্রতিনিধিকে সরিয়ে দেয় (যা যেকোন যাচাইকরণ স্থিতির হতে পারে), এবং এটি ব্যবহার করার জন্য প্রয়োজন হতে পারে এমন যেকোনো যাচাই প্রত্যাহার করে।
মনে রাখবেন যে একজন প্রতিনিধি ব্যবহারকারীকে তাদের প্রাথমিক ইমেল ঠিকানা দ্বারা উল্লেখ করতে হবে, এবং একটি ইমেল উপনাম নয়।
এই পদ্ধতিটি শুধুমাত্র পরিষেবা অ্যাকাউন্ট ক্লায়েন্টদের জন্য উপলব্ধ যারা ডোমেন-ওয়াইড অথরিটি অর্পণ করা হয়েছে।
HTTP অনুরোধ
DELETE https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
userId | string ব্যবহারকারীর ইমেল ঠিকানা। বিশেষ মান "me" প্রমাণীকৃত ব্যবহারকারী নির্দেশ করতে ব্যবহার করা যেতে পারে। |
delegateEmail | string ব্যবহারকারীর ইমেল ঠিকানা প্রতিনিধি হিসাবে সরানো হবে। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/gmail.settings.sharing
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-09-05 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-09-05 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Removes a delegate user identified by their primary email address, revoking any associated verification."],["This action is restricted to service account clients with delegated domain-wide authority."],["The request must specify the user and delegate's email addresses as path parameters."],["A successful operation results in an empty response body, indicating the delegate was removed."],["This functionality requires the `https://www.googleapis.com/auth/gmail.settings.sharing` OAuth scope for authorization."]]],["This outlines how to remove a delegate from a user's Gmail account. A `DELETE` HTTP request is sent to a specific URL, including the user's email (`userId`) and the delegate's email (`delegateEmail`) as path parameters. The request body must be empty. A successful removal returns an empty response body. This operation is only available to service accounts with domain-wide authority, and it requires the `gmail.settings.sharing` authorization scope. Only primary email address can be used for the delegate.\n"]]