Publish, unlist, hide or schedule
set_visibilityChange a YouTube video's visibility to private, unlisted, or public, or schedule when it goes public. Non-private changes require user confirmation.
Instructions
Change who can see a video: private, unlisted or public, or schedule it with publish_at. Anything other than private needs the user’s confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. | |
| privacy | No | ||
| video_id | Yes | ||
| publish_at | No | ISO 8601 date-time to go public; the video stays private until then. | |
| confirmation_token | No | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |