Delete a video from the connected YouTube channel
delete_youtube_videoPermanently delete a YouTube video from your connected channel. Irreversible—no trash, so requires confirmation and exact title for public videos.
Instructions
PERMANENTLY delete a video from the connected YouTube channel. IRREVERSIBLE — YouTube has no trash and no undelete, and the video's views, comments and every link or embed pointing at it go with it. Call it WITHOUT confirm first: nothing is deleted, and it reports the video's REAL title, privacy, view count and comment count read back from YouTube. Show the user that, get an unambiguous yes, then call again with confirm:true — plus, once the video is public or has any views or comments, confirmTitle set to its exact title. confirmTitle exists because confirming that you meant to delete SOMETHING does not prove you aimed at the right video, and a wrong id must not be confirmable blind. If the user only wants it out of public view, use update_youtube_video(privacy:"private") instead — that is reversible and this is not. Get the videoId from list_youtube_videos. 0 credits. Needs a connected YouTube channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | REQUIRED true — deletion is permanent and cannot be undone | |
| videoId | Yes | the YouTube video id (from list_youtube_videos) | |
| confirmTitle | No | the video's EXACT title as the unconfirmed call reported it — required once the video is public or has any views or comments |