Method: enterprises.webTokens.create
किसी एंटरप्राइज़ के लिए, एम्बेड किए जा सकने वाले 'कारोबार के लिए Google Play' वेब यूज़र इंटरफ़ेस (यूआई) को ऐक्सेस करने के लिए वेब टोकन बनाता है.
एचटीटीपी अनुरोध
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/webTokens
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
enterprises/{enterpriseId} फ़ॉर्मैट में, एंटरप्राइज़ का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में WebToken
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में WebToken
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-29 (UTC) को अपडेट किया गया."],[[["Creates a web token for accessing an embeddable managed Google Play web UI for a given enterprise."],["Uses a POST request to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/webTokens` with the enterprise name as a path parameter."],["Requires a request body containing a WebToken object and provides a newly created WebToken object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process to create a web token for accessing a managed Google Play web UI. A `POST` HTTP request is sent to a specified URL, including a `parent` path parameter that identifies the enterprise. The request body requires a `WebToken` instance. Upon success, the response body returns a newly created `WebToken` instance. This action requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. The complete path to the resource is: `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/webTokens`.\n"]]