Tworzy token rejestracji dla danej firmy. Zarządzanie cyklem życia nowo utworzonych tokenów i deleting ich usuwanie, gdy nie są już potrzebne, należy do dzwoniącego.
Żądanie HTTP
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
[[["Ł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-01-30 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"]]