Method: subscriptions.delete
HTTP অনুরোধ
DELETE https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। সাবস্ক্রিপশনের রিসোর্স নাম মুছে ফেলতে হবে। বিন্যাস: subscriptions/{subscription} |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
validateOnly | boolean ঐচ্ছিক। true সেট করা থাকলে, অনুরোধটি যাচাই করে এবং পূর্বরূপ দেখায়, কিন্তু সদস্যতা মুছে দেয় না। |
allowMissing | boolean ঐচ্ছিক। যদি true সেট করা হয় এবং সাবস্ক্রিপশন পাওয়া না যায়, অনুরোধটি সফল হয় কিন্তু সাবস্ক্রিপশন মুছে দেয় না। |
etag | string ঐচ্ছিক। সাবস্ক্রিপশন এর Etag. উপস্থিত থাকলে, এটি অবশ্যই সার্ভারের ইটাগের সাথে মেলে। অন্যথায়, অনুরোধ ABORTED অবস্থায় ব্যর্থ হবে। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Operation
একটি উদাহরণ থাকে।
-
metadata
ফিল্ডে একটি খালি অ্যারে রয়েছে। -
response
ক্ষেত্র খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/chat.bot
-
https://www.googleapis.com/auth/chat.spaces
-
https://www.googleapis.com/auth/chat.spaces.readonly
-
https://www.googleapis.com/auth/chat.messages
-
https://www.googleapis.com/auth/chat.messages.readonly
-
https://www.googleapis.com/auth/chat.messages.reactions
-
https://www.googleapis.com/auth/chat.messages.reactions.readonly
-
https://www.googleapis.com/auth/chat.memberships
-
https://www.googleapis.com/auth/chat.memberships.readonly
-
https://www.googleapis.com/auth/meetings.space.created
-
https://www.googleapis.com/auth/meetings.space.readonly
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This document describes how to delete a Google Workspace subscription using the `DELETE` method."],["The request requires specifying the subscription name in the URL path and can optionally include query parameters for validation, error handling, and Etag verification."],["An empty request body is required, and a successful response will return an Operation object indicating the deletion process."],["To authorize this request, you need one of the listed OAuth scopes, such as `https://www.googleapis.com/auth/chat.bot` or those related to Chat, Meetings, and Spaces."],["This feature is part of the Google Workspace Developer Preview Program and may be subject to change."]]],["This document outlines the process for deleting a Google Workspace subscription via an HTTP DELETE request to `https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}`. The `name` path parameter is required to specify the subscription. Optional query parameters include `validateOnly`, `allowMissing`, and `etag`. The request body should be empty. A successful operation returns an Operation instance, while specific OAuth scopes are required for authorization.\n"]]