Tạo mã đăng ký cho một doanh nghiệp cụ thể. Người gọi có trách nhiệm quản lý vòng đời của mã thông báo mới tạo và deleting mã thông báo đó khi không còn sử dụng nữa.
Yêu cầu HTTP
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
[[["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."],[[["Creates enrollment tokens for enterprises, allowing the caller to manage their lifecycle, including deletion when no longer needed."],["Uses an HTTP POST request to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens` with the enterprise name specified in the path parameter."],["Requires an `EnrollmentToken` object in the request body and returns a newly created `EnrollmentToken` object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope for access."]]],["This describes creating an enrollment token for an enterprise. A `POST` request is sent to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens`, with the enterprise name (`enterprises/{enterpriseId}`) provided as a path parameter. The request body is an `EnrollmentToken` instance, and a successful response returns a new `EnrollmentToken`. The caller manages the token's lifecycle and requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. The caller is also responsible for deleting the token.\n"]]