Method: grants.delete
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הסרת כל הגישה של המשתמש לחבילה או לחשבון המפתח הנתונים.
בקשת HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/{name=developers/*/users/*/grants/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של המענק שרוצים למחוק. פורמט: developers/{developer}/users/{email}/grants/{packageName}
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidpublisher
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-17 (שעון 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"]],["עדכון אחרון: 2024-12-17 (שעון UTC)."],[[["Removes a user's access to a specific package or developer account."],["Uses an HTTP DELETE request with the grant's name specified in the URL path."],["Requires an empty request body and returns an empty response body upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process for revoking a user's access to a package or developer account. A `DELETE` HTTP request is sent to a specific URL using gRPC Transcoding syntax, with the `name` parameter specifying the grant to remove in the format `developers/*/users/*/grants/*`. The request body must be empty, and a successful deletion returns an empty JSON object. The process necessitates the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]