Watermarks: unset
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
刪除頻道的浮水印圖片。
配額影響:呼叫這個方法的配額費用為 50 個單位。
要求
HTTP 要求
POST https://www.googleapis.com/youtube/v3/watermarks/unset
授權
這項要求需要至少下列其中一個範圍的授權 (進一步瞭解驗證和授權)。
內容範圍 |
https://www.googleapis.com/auth/youtubepartner |
https://www.googleapis.com/auth/youtube |
https://www.googleapis.com/auth/youtube.force-ssl |
參數
下表列出此查詢支援的參數。這裡列出的參數全都是查詢參數。
參數 |
必要參數 |
channelId |
string
channelId 參數會指定不要設定浮水印的 YouTube 頻道 ID。 |
選用參數 |
onBehalfOfContentOwner |
string
注意:這個參數僅適用於 YouTube 內容合作夥伴。
onBehalfOfContentOwner 參數代表用於要求的授權憑證,代表 YouTube CMS 使用者,代表在參數值中指定的內容擁有者代表行事。這個參數適用於擁有及管理多個不同 YouTube 頻道的 YouTube 內容合作夥伴。內容擁有者只要通過一次驗證,即可存取所有影片和頻道資料,不必分別提供各個頻道的驗證憑證。用於驗證的 CMS 帳戶,必須連結至指定的 YouTube 內容擁有者。 |
回應
如果成功,這個方法會傳回 HTTP 204
回應代碼 (No Content
)。
錯誤
下表列出 API 回應此方法時可能傳回的錯誤訊息。詳情請參閱錯誤訊息的說明文件。
錯誤類型 |
錯誤詳細資料 |
說明 |
forbidden (403) |
forbidden |
無法為指定頻道取消設定浮水印。要求可能未獲適當授權,或 channelId 參數設定的值無效。 |
試試看!
使用 APIs Explorer 呼叫這個 API 並查看 API 要求和回應。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-04-26 (世界標準時間)。
[[["容易理解","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-04-26 (世界標準時間)。"],[[["This API method removes a watermark image from a specified YouTube channel."],["A successful call to this API returns an HTTP `204` response, indicating no content."],["The request requires authorization using `youtubepartner`, `youtube`, or `youtube.force-ssl` scopes."],["The required parameter `channelId` specifies the YouTube channel from which the watermark is being removed."],["The optional `onBehalfOfContentOwner` parameter is available for YouTube content partners to manage multiple channels under one authorization."]]],["This API method deletes a channel's watermark image. It requires authorization with specific scopes and incurs a quota cost of 50 units per call. The request is made via a POST request to the specified URL, requiring the `channelId` parameter, and optionally `onBehalfOfContentOwner`. A successful call returns a `204` response, while a `403` error indicates issues with authorization or an invalid `channelId`. No request body is used for the call.\n"]]