Method: customers.devices.unclaim
دستگاهی را از مشتری سلب می کند و آن را از ثبت نام بدون لمس حذف می کند.
پس از حذف یک دستگاه، مشتری باید با فروشنده خود تماس بگیرد تا دوباره دستگاه را در ثبت نام بدون لمس ثبت کند.
درخواست HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:unclaim
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
parent | string مورد نیاز. مشتری که دستگاه را مدیریت می کند. نام منبع API در قالب customers/[CUSTOMER_ID] . |
درخواست بدن
بدنه درخواست حاوی داده هایی با ساختار زیر است:
فیلدها |
---|
device | object ( DeviceReference ) مورد نیاز. دستگاه برای لغو ادعا. |
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidworkzerotouchemm
برای اطلاعات بیشتر، به نمای کلی OAuth 2.0 مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-08 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-08 بهوقت ساعت هماهنگ جهانی."],[[["This endpoint unclaims a device from a customer, removing it from zero-touch enrollment, requiring the customer to re-register through their reseller if needed."],["The HTTP request method is a `POST` request to a specific URL using gRPC Transcoding syntax, with the customer ID being a required path parameter."],["The request body is required and must contain an object specifying the `device` to unclaim, referenced by the DeviceReference resource."],["The response body will be empty if the request is successful."],["This API call requires OAuth scope `https://www.googleapis.com/auth/androidworkzerotouchemm` for authorization."]]],["This document details how to unclaim a device from a customer using the Android zero-touch enrollment API. The key action is sending a `POST` request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:unclaim`, where `parent` is the customer ID. The request body requires a `device` object specifying the device to unclaim. Successful unclaiming results in an empty response body. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. Unclaiming removes the device from zero-touch enrollment, requiring the customer to re-register it with their reseller.\n"]]