Method: users.delete
किसी उपयोगकर्ता की प्रोफ़ाइल मिटाता है.
इस तरीके से पुष्टि करने के लिए, खास शर्तें पूरी करनी होती हैं. इस तरीके का इस्तेमाल करने से पहले, उपयोगकर्ताओं को मैनेज करने के लिए बनी गाइड में दी गई ज़रूरी शर्तें पढ़ें.
"यह तरीका आज़माएं" सुविधा, इस तरीके के लिए काम नहीं करती.
एचटीटीपी अनुरोध
DELETE https://displayvideo.googleapis.com/v3/users/{userId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
userId |
string (int64 format)
ज़रूरी है. जिस उपयोगकर्ता की जानकारी मिटानी है उसका आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/display-video-user-management
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया."],[[["This guide details how to delete a user using the Display & Video 360 API with a `DELETE` request to a specific endpoint."],["It requires specific authentication outlined in the Managing Users guide and uses `userId` as a path parameter to identify the user to be deleted."],["The request body should be empty, and upon successful deletion, the response body will also be empty."],["This method needs authorization with the `https://www.googleapis.com/auth/display-video-user-management` scope."],["The \"Try this method\" feature is not available for this specific API request."]]],["This document outlines how to delete a user via an API. A `DELETE` request is sent to `https://displayvideo.googleapis.com/v3/users/{userId}`, where `{userId}` is the required ID of the user to be deleted. The request body must be empty. Successful deletion returns an empty JSON object. Authentication requires the `https://www.googleapis.com/auth/display-video-user-management` OAuth scope. Note, \"Try this method\" does not work and the user must read the prerequisite of the related link to access this method.\n"]]