Löscht ein Gerät. Bei diesem Vorgang wird versucht, die Daten auf dem Gerät zu löschen. Dies ist jedoch nicht garantiert, wenn das Gerät längere Zeit offline ist. Gelöschte Geräte werden nicht in enterprises.devices.list-Anrufen angezeigt und von enterprises.devices.get wird der Fehlercode 404 zurückgegeben.
Optionale Flags, mit denen das Verhalten beim Zurücksetzen des Geräts gesteuert wird.
wipeReasonMessage
string
Optional. Eine kurze Nachricht, die dem Nutzer angezeigt wird, bevor das Arbeitsprofil auf privaten Geräten gelöscht wird. Das hat keine Auswirkungen auf unternehmenseigene Geräte. Die maximale Länge einer Nachricht beträgt 200 Zeichen.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext ein leeres JSON-Objekt.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]