Xoá một thiết bị. Thao tác này tìm cách xoá sạch dữ liệu trên thiết bị nhưng không đảm bảo thành công nếu thiết bị không có kết nối mạng trong một thời gian dài. Các thiết bị đã bị xoá sẽ không xuất hiện trong các cuộc gọi enterprises.devices.list và 404 sẽ được trả về từ enterprises.devices.get.
Các cờ không bắt buộc để kiểm soát hành vi xoá dữ liệu trên thiết bị.
wipeReasonMessage
string
Không bắt buộc. Một thông báo ngắn hiển thị cho người dùng trước khi xoá sạch hồ sơ công việc trên thiết bị cá nhân. Điều này không ảnh hưởng đến các thiết bị thuộc quyền sở hữu của công ty. Độ dài tối đa của thông báo là 200 ký tự.
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, phần nội dung phản hồi sẽ là một đối tượng JSON trống.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["Permanently deletes a device, wiping its data and removing it from enterprise device lists."],["The wipe behavior can be customized using optional flags like `wipeDataFlags` and `wipeReasonMessage`."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["The request body should be empty, and a successful deletion results in an empty response body."],["Device deletion uses the `DELETE` method with the device name as a path parameter."]]],["This document outlines the process for deleting a device via a `DELETE` HTTP request to the specified URL, requiring an empty request body. The device name is provided as a path parameter. Optional query parameters include `wipeDataFlags`, for managing data wiping behavior, and `wipeReasonMessage`, a user-facing message for personal devices. Successful deletion returns an empty JSON object. Deletion also involves wiping the device and removing it from device lists. Authentication requires the `androidmanagement` OAuth scope.\n"]]