Usuwa urządzenie. Ta operacja próbuje wyczyścić urządzenie, ale nie ma gwarancji, że się to uda, jeśli urządzenie jest przez dłuższy czas offline. Usunięte urządzenia nie są widoczne w enterprises.devices.list połączeniach, a enterprises.devices.get zwraca kod 404.
Opcjonalne flagi, które kontrolują zachowanie urządzenia podczas czyszczenia.
wipeReasonMessage
string
Opcjonalnie. Krótka wiadomość wyświetlana użytkownikowi przed wyczyszczeniem profilu służbowego na urządzeniach osobistych. Nie ma to wpływu na urządzenia należące do firmy. Maksymalna długość wiadomości to 200 znaków.
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie pustym obiektem JSON.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-09 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"]]