Method: enterprises.enrollmentTokens.delete
रजिस्ट्रेशन टोकन मिटाता है. इससे टोकन अमान्य हो जाता है और आने वाले समय में इसका इस्तेमाल नहीं किया जा सकता.
एचटीटीपी अनुरोध
DELETE https://androidmanagement.googleapis.com/v1/{name=enterprises/*/enrollmentTokens/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId} फ़ॉर्म में रजिस्ट्रेशन टोकन का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए 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) को अपडेट किया गया."],[[["Deletes an enrollment token, invalidating it for future use."],["Uses a DELETE request to `https://androidmanagement.googleapis.com/v1/{name=enterprises/*/enrollmentTokens/*}` with the enrollment token's name as a path parameter."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["The core action is deleting an enrollment token, which invalidates it. This is done via a `DELETE` HTTP request to a specific URL using gRPC Transcoding syntax. The URL requires a path parameter, `name`, representing the token's location. The request body must be empty. A successful response returns an empty JSON object. Authorization for this action requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope.\n"]]