Method: accounts.deleteNotifications
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ניקוי הגדרות ההתראות של pubsub בחשבון.
בקשת HTTP
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
שם המשאב שיש לנקות את הגדרות ההתראות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
למידע נוסף, עיין בסקירה הכללית על OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2023-12-01 (שעון UTC)."],[[["This document describes how to clear pubsub notification settings for a Google My Business account using the `DELETE` method and the specified endpoint."],["The request requires specifying the account name in the path parameter and an empty request body."],["A successful operation results in an empty response body, indicating the settings have been cleared."],["Authorization requires using one of the specified OAuth scopes: `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."],["This method is deprecated and Google recommends using the Notifications API instead."]]],["This document outlines the process to clear pubsub notification settings for an account using a `DELETE` HTTP request. The URL structure follows gRPC Transcoding, requiring a resource `name` parameter in the path. The request body should be empty. A successful operation returns an empty response body. This functionality is deprecated and should be replaced by the Notifications API. Authorization requires one of two specified OAuth scopes to be provided in the request.\n"]]