PlaylistImages: delete
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
प्लेलिस्ट की इमेज मिटाता है.
कोटा का असर: इस तरीके को किए जाने वाले कॉल की कोटा लागत 50 यूनिट है.
अनुरोध
एचटीटीपी अनुरोध
DELETE https://www.googleapis.com/youtube/v3/playlistImages
अनुमति देना
इस अनुरोध के लिए, इनमें से कम से कम एक दायरे का इस्तेमाल करके अनुमति लेना ज़रूरी है (पुष्टि करने और अनुमति देने के बारे में ज़्यादा पढ़ें).
दायरा |
https://www.googleapis.com/auth/youtubepartner |
https://www.googleapis.com/auth/youtube |
https://www.googleapis.com/auth/youtube.force-ssl |
पैरामीटर
नीचे दी गई टेबल में ऐसे पैरामीटर दिए गए हैं जो इस क्वेरी के साथ काम करते हैं. सूची में दिए गए सभी पैरामीटर, क्वेरी पैरामीटर हैं.
पैरामीटर |
ज़रूरी पैरामीटर |
id |
string
id पैरामीटर मिटाई जा रही प्लेलिस्ट की इमेज के लिए, YouTube प्लेलिस्ट की इमेज आईडी बताता है. playlistImages संसाधन में, id प्रॉपर्टी, प्लेलिस्ट की इमेज का आईडी बताती है. |
वैकल्पिक पैरामीटर |
onBehalfOfContentOwner |
string
ध्यान दें: onBehalfOfContentOwner पैरामीटर को खास तौर पर YouTube कॉन्टेंट पार्टनर के लिए बनाया गया है. इसका इस्तेमाल, सिर्फ़ अनुमति वाले अनुरोध पर किया जा सकता है.
यह पैरामीटर उन YouTube कॉन्टेंट पार्टनर के लिए बनाया गया है जो कई अलग-अलग YouTube चैनलों का मालिकाना हक रखते हैं और उन्हें मैनेज करते हैं. इससे कॉन्टेंट के मालिक से जुड़े उपयोगकर्ता अपनी पहचान की पुष्टि करने के बाद, कॉन्टेंट के मालिक के वीडियो और चैनल का पूरा डेटा ऐक्सेस और मैनेज कर सकते हैं. इसके लिए, उन्हें हर चैनल की पुष्टि करने से जुड़े क्रेडेंशियल देने की ज़रूरत नहीं होती.
पैरामीटर के मौजूद होने पर, इससे कॉन्टेंट के मालिक की पहचान होती है. साथ ही, अनुरोध की अनुमति के क्रेडेंशियल से उस YouTube उपयोगकर्ता की पहचान होती है जिसे कॉन्टेंट के मालिक की ओर से कार्रवाई करने की अनुमति मिली है. उपयोगकर्ता जिस खाते से पुष्टि करता है उसे YouTube Studio की सेटिंग में जाकर, कॉन्टेंट के मालिक के खाते से लिंक होना चाहिए. |
अनुरोध का मुख्य भाग
इस तरीके का इस्तेमाल करते समय अनुरोध का मुख्य हिस्सा न भेजें.
जवाब
सही तरीके से काम करने पर, यह तरीका एचटीटीपी 204
रिस्पॉन्स कोड (No Content
) दिखाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-16 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-16 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis method allows for the deletion of a playlist image using the YouTube Data API.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a playlist image requires authorization with one of the specified scopes, including \u003ccode\u003eyoutubepartner\u003c/code\u003e, \u003ccode\u003eyoutube\u003c/code\u003e, or \u003ccode\u003eyoutube.force-ssl\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e parameter is mandatory and specifies the unique ID of the playlist image to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eUsing this method has a quota cost of 50 units per request.\u003c/p\u003e\n"],["\u003cp\u003eContent partners managing multiple channels can use the \u003ccode\u003eonBehalfOfContentOwner\u003c/code\u003e parameter to manage their data.\u003c/p\u003e\n"]]],["This method deletes a specific playlist image on YouTube, identified by its `id`. The request is made via a `DELETE` HTTP request to the `/playlistImages` endpoint. Authorization is required, using one of the specified scopes. A `quota cost` of 50 units is associated with each call. An optional parameter, `onBehalfOfContentOwner`, allows content partners to manage data across multiple channels. Upon successful deletion, a `204` response code is returned. No request body is needed.\n"],null,["# PlaylistImages: delete\n\nDeletes a playlist image.\n\n**Quota impact:** A call to this method has a [quota cost](/youtube/v3/getting-started#quota) of 50 units.\n\nRequest\n-------\n\n### HTTP request\n\n```\nDELETE https://www.googleapis.com/youtube/v3/playlistImages\n```\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/youtube/v3/guides/authentication)).\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/youtubepartner` |\n| `https://www.googleapis.com/auth/youtube` |\n| `https://www.googleapis.com/auth/youtube.force-ssl` |\n\n### Parameters\n\nThe following table lists the parameters that this query supports. All of the parameters listed are query parameters.\n\n| Parameters ||\n|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| **Required parameters** |||\n| `id` | `string` The **id** parameter specifies the YouTube playlist image ID for the playlist image that is being deleted. In a `playlistImages` resource, the `id` property specifies the playlist image's ID. |\n| **Optional parameters** |||\n| `onBehalfOfContentOwner` | `string` **Note:** The **onBehalfOfContentOwner** parameter is intended exclusively for YouTube content partners and can only be used in a properly [authorized request](/youtube/v3/guides/authentication). This parameter is designed for YouTube content partners that own and manage many different YouTube channels. It enables users affiliated with the content owner to authenticate once and then be able to access and manage all of the content owner's video and channel data, without having to provide authentication credentials for each individual channel. When the parameter is present, its value identifies a content owner, and the request's authorization credentials identify a YouTube user who is authorized to act on behalf of that content owner. The account that the user authenticates with must be [linked to the specified content owner](https://support.google.com/youtube/answer/4524878) in the YouTube Creator Studio settings. |\n\n### Request body\n\nDo not provide a request body when calling this method.\n\nResponse\n--------\n\nIf successful, this method returns an HTTP `204` response code (`No Content`)."]]