Method: customers.configurations.delete
یک پیکربندی استفاده نشده را حذف می کند. اگر مشتری دستگاه هایی با پیکربندی اعمال شده داشته باشد، تماس API ناموفق است.
درخواست HTTP
DELETE https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["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"]]