Method: enterprises.enrollmentTokens.create
किसी एंटरप्राइज़ के लिए रजिस्ट्रेशन टोकन बनाता है. नए टोकन के लाइफ़साइकल को मैनेज करने की ज़िम्मेदारी कॉलर की होती है. साथ ही, जब टोकन का इस्तेमाल नहीं किया जाना है, तो उन्हें deleting
कर देना चाहिए.
एचटीटीपी अनुरोध
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
enterprises/{enterpriseId} फ़ॉर्मैट में, एंटरप्राइज़ का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में EnrollmentToken
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में EnrollmentToken
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidmanagement
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-30 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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."]]],[]]