Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Để bắt đầu sử dụng Android Management API, chúng tôi đã tạo một Colab
sổ tay mà bạn có thể theo dõi để đăng ký doanh nghiệp, tạo chính sách và
cấp phép một thiết bị.
Để sử dụng hướng dẫn bắt đầu nhanh, bạn cần:
Sử dụng thiết bị chạy Android 6.0 trở lên.
Tài khoản Gmail. Không thể liên kết tài khoản này với tài khoản hiện có
doanh nghiệp.
Một dự án Cloud Platform mà bạn
sở hữu hoặc có thể chỉnh sửa:
Để đặt lại thiết bị và huỷ liên kết tài khoản Gmail của bạn với enterprise,
tạo, hãy làm theo các bước dưới đây.
1. Hủy cấp phép thiết bị
Bạn cần có deviceId của thiết bị thì mới có thể huỷ cấp phép một thiết bị. Để có một
danh sách tất cả các thiết bị được cấp phép của bạn, hãy gọi enterprises.devices.list và
chỉ định:
parent: Tên doanh nghiệp ở dạng enterprises/{enterprise-id}.
Phản hồi thành công chứa một mảng devices
của chúng tôi. Vì bạn chỉ cần trường name để huỷ cấp phép một thiết bị, nên
câu trả lời mẫu bên dưới được rút ngắn.
Để huỷ cấp phép và đặt lại thiết bị về trạng thái ban đầu, hãy gọi enterprises.devices.delete và
chỉ định:
name: Mã thiết bị ở dạng
enterprises/{enterprise-id}/devices/{device-id}
Nếu thành công, yêu cầu sẽ trả về một nội dung phản hồi trống.
2. Xoá doanh nghiệp
Bạn chỉ có thể liên kết tài khoản Gmail của mình với một doanh nghiệp duy nhất. Cách huỷ liên kết
tài khoản của bạn khỏi một doanh nghiệp, bạn cần xóa doanh nghiệp đó:
[[["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: 2024-09-10 UTC."],[[["Follow the provided Colab notebook for a guided experience in enrolling an enterprise, creating a policy, and provisioning a device using the Android Management API."],["To 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."],["Optionally, you can reset your device and remove your Gmail account's association with the created enterprise by deprovisioning the device and deleting the enterprise."],["For advanced development, refer to the detailed documentation covering introduction, developer guide, API reference, permissible usage guidelines, and available client libraries."]]],["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"]]