Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Für die ersten Schritte mit der Android Management API haben wir Colab
Notebook, dem Sie folgen können, um ein Unternehmen zu registrieren, eine Richtlinie zu erstellen
ein Gerät bereitzustellen.
Zur Verwendung der Kurzanleitung benötigen Sie Folgendes:
Du verwendest ein Gerät mit Android 6.0 oder höher.
Ein Gmail-Konto. Dieses Konto kann nicht mit einem vorhandenen Konto verknüpft werden
Unternehmen.
Ein Cloud Platform-Projekt, das Sie
besitzen oder bearbeiten können:
<ph type="x-smartling-placeholder"></ph>
Um dein Gerät zurückzusetzen und die Verknüpfung deines Gmail-Kontos mit deinem enterprise aufzuheben
erstellt haben, führen Sie die folgenden Schritte aus.
1. Bereitstellung eines Geräts aufheben
Bevor Sie die Bereitstellung eines Geräts aufheben können, benötigen Sie die deviceId des Geräts. Um eine
eine Liste aller bereitgestellten Geräte erstellen, rufen Sie enterprises.devices.list an und
Folgendes angeben:
parent: Der Name des Unternehmens im Format enterprises/{enterprise-id}.
Eine erfolgreiche Antwort enthält ein Array von devices
Ressourcen. Da Sie nur das Feld name benötigen, um die Bereitstellung eines Geräts aufzuheben,
Die Beispielantwort unten wurde gekürzt.
Wenn Sie die Bereitstellung eines Geräts aufheben und es auf die Werkseinstellungen zurücksetzen möchten, rufen Sie enterprises.devices.delete auf und
Folgendes angeben:
name: die Geräte-ID im Format
enterprises/{enterprise-id}/devices/{device-id}.
Wenn der Vorgang erfolgreich ist, gibt die Anfrage einen leeren Antworttext zurück.
2. Unternehmen löschen
Sie können Ihr Gmail-Konto nur mit einem einzigen Unternehmen verknüpfen. Bindung aufheben
Ihr Unternehmenskonto von einem Unternehmenskonto erstellt haben, müssen Sie das Enterprise-Konto löschen:
Rufen Sie mit Ihrem Konto play.google.com/work auf.
mit denen das Unternehmen erstellt wurde.
Wählen Sie Administratoreinstellungen aus.
Wählen Sie unter „Informationen zur Organisation“ das Dreipunkt-Menü aus.
[[["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-26 (UTC)."],[[["\u003cp\u003eFollow the provided Colab notebook for a guided experience in enrolling an enterprise, creating a policy, and provisioning a device using the Android Management API.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize the quickstart guide, ensure you have an Android 6.0+ device, a Gmail account not linked to an existing enterprise, and a Cloud Platform project you can access or create.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can reset your device and remove your Gmail account's association with the created enterprise by deprovisioning the device and deleting the enterprise.\u003c/p\u003e\n"],["\u003cp\u003eFor advanced development, refer to the detailed documentation covering introduction, developer guide, API reference, permissible usage guidelines, and available client libraries.\u003c/p\u003e\n"]]],["This guide uses a Colab notebook to manage Android devices. Requirements include an Android 6.0+ device, a Gmail account not tied to any existing enterprise, and a Cloud Platform project. To reset, first list provisioned devices via `enterprises.devices.list` to get the `deviceId`. Then, deprovision a device with `enterprises.devices.delete`. Finally, to delete an enterprise, access the Admin Settings on `play.google.com/work` and choose to delete the organization.\n"],null,["To get started with the Android Management API, we've created a **Colab**\nnotebook that you can follow to enroll an enterprise, create a policy, and\nprovision a device.\n| **Colab** is a free cloud service offered by Google. Colab notebooks can be used to store and run code samples, and are compatible with Google Drive.\n\nTo use the quickstart guide, you need:\n\n- An Android 6.0+ device.\n- A Gmail account. This account cannot be associated with an existing enterprise.\n- A [Cloud Platform](https://console.cloud.google.com/project) project that you own or can edit:\n 1. Go to the [Projects Page](https://console.cloud.google.com/project).\n 2. Click **CREATE PROJECT**.\n 3. Take note of the project ID. \n\n[Open quickstart guide](https://colab.research.google.com/github/google/android-management-api-samples/blob/master/notebooks/quickstart.ipynb) \n\nCleanup (optional)\n\nTo reset your device and unbind your Gmail account from the `enterprise` you\ncreated, follow the steps below.\n\n1. Deprovision a device\n\nBefore you can deprovision a device, you need the device's `deviceId`. To get a\nlist of all your provisioned devices, call `enterprises.devices.list` and\nspecify:\n\n- `parent`: The enterprise name in the form of `enterprises/{enterprise-id}`.\n\nA successful response contains an array of [`devices`](/android/management/reference/rest/v1/enterprises.devices)\nresources. Because you only need the `name` field to deprovision a device, the\nexample response below is shortened. \n\n```text\n{\n \"devices\": [\n {\n \"name\": \"enterprises/{enterprise-id}/devices/{device-id}\",\n \"state\": \"ACTIVE\",\n // Additional device resource fields\n }\n ]\n}\n```\n\nTo deprovision and factory-reset a device, call `enterprises.devices.delete` and\nspecify:\n\n- `name`: The device ID in the form of `enterprises/{enterprise-id}/devices/{device-id}`.\n\nIf successful, the request returns an empty response body.\n\n2. Delete an enterprise\n\nYou can only associate your Gmail account with a single enterprise. To unbind\nyour account from an enterprise, you need to delete the enterprise:\n\n1. Visit [play.google.com/work](https://play.google.com/work) with the account used to create the enterprise.\n2. Select **Admin Settings**.\n3. In Organization information, select the three vertical dots.\n4. Click **Delete Organization**.\n\n| You can now use your Gmail account to create another enterprise.\n\nStart developing\n\n- For more detailed information on how to develop an Android management solution, review the [Introduction](/android/management/introduction), [Developer's guide](/android/management/create-enterprise), [API reference](/android/management/reference/rest) and [Permissible Usage guidelines](/android/management/permissible-usage).\n- Download the Android Management API client library for [Java](/api-client-library/java/apis/androidmanagement/v1), [.NET](/api-client-library/dotnet/apis/androidmanagement/v1), [Python](/api-client-library/python/apis/androidmanagement/v1), or [Ruby](/api-client-library/ruby/apis/androidmanagement/v1) (Alpha)."]]