PlaylistImages: delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
再生リストの画像を削除します。
割り当ての影響: このメソッドを呼び出すと、50 ユニットの割り当てコストが発生します。
リクエスト
HTTP リクエスト
DELETE https://www.googleapis.com/youtube/v3/playlistImages
承認
このリクエストは、少なくとも次のうち 1 つのスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
スコープ |
https://www.googleapis.com/auth/youtubepartner |
https://www.googleapis.com/auth/youtube |
https://www.googleapis.com/auth/youtube.force-ssl |
パラメータ
次の表に、このクエリでサポートされているパラメータを示します。このリストのパラメータはすべてクエリ パラメータです。
パラメータ |
必須パラメータ |
id |
string
id パラメータには、削除する再生リスト画像の YouTube 再生リスト画像 ID を指定します。playlistImages リソースでは、id プロパティに再生リスト画像の ID を指定します。 |
オプション パラメータ |
onBehalfOfContentOwner |
string
注: onBehalfOfContentOwner パラメータは YouTube コンテンツ パートナー専用であり、適切に承認されたリクエストでのみ使用できます。
このパラメータは、さまざまな YouTube チャンネルを所有、管理している YouTube コンテンツ パートナー向けに設計されています。コンテンツ所有者と関連付けられているユーザーは、一度認証を行うと、チャンネルごとに認証情報を指定することなく、コンテンツ所有者のすべての動画データとチャンネル データにアクセスして管理できるようになります。
このパラメータが存在する場合、このパラメータの値はコンテンツ所有者を識別し、リクエストの承認認証情報は、そのコンテンツ所有者の代理権限が与えられている YouTube ユーザーを識別します。ユーザーが認証するアカウントは、YouTube クリエイター ツールの設定で指定したコンテンツ所有者にリンクしている必要があります。 |
リクエスト本文
このメソッドを呼び出す場合は、リクエストの本文を指定しないでください。
レスポンス
成功すると、このメソッドは HTTP 204
レスポンス コード(No Content
)を返します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-16 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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,[]]