किसी एंटरप्राइज़ के लिए रजिस्ट्रेशन टोकन बनाता है. नए टोकन के लाइफ़साइकल को मैनेज करने की ज़िम्मेदारी कॉलर की होती है. साथ ही, जब टोकन का इस्तेमाल नहीं किया जाना है, तो उन्हें deleting कर देना चाहिए.
एचटीटीपी अनुरोध
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 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"]]