Method: customers.configurations.delete
מחיקת מערך של הגדרות אישיות שלא בשימוש. הקריאה ל-API תיכשל אם ללקוח יש מכשירים שבהם הוחלו ההגדרות.
בקשת HTTP
DELETE https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. ההגדרות שרוצים למחוק. שם של משאב API בפורמט customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] . אם ההגדרה תחול על מכשירים כלשהם, הקריאה ל-API תיכשל.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-07 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-07 (שעון UTC)."],[[["This API endpoint is used to delete an unused configuration using a DELETE HTTP request."],["The `name` path parameter is required, which specifies the configuration to delete in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`."],["The request body for this operation must be empty."],["If successful, the response body will also be empty, and it fails if the configuration is applied to any devices."],["The authorization scope required for this operation is `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],["This describes how to delete a configuration using a `DELETE` HTTP request to a specific URL: `https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}`. The `name` path parameter, formatted as `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`, is required. The request body must be empty. A successful request returns an empty response body. The API call will fail if devices are using the targeted configuration, and requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` authorization scope.\n"]]