Set the privacy of a video. The possible privacy settings are anybody, nobody, contacts, users, password, or disable.
This method requires a token with write permission.
ParametersLog in to enter Playground
|video_id||int||(required) The ID of the video.|
|privacy||string||(required) The privacy setting to use.|
|users||string||A comma-separated list of users who can view the video.|
|password||string||The password to protect the video with.|
|99||Insufficient permissions||The user does not have permission to do that.|
|1||Video not found||The video id was either invalid or not provided.|
|1||Video not found||The video id was either invalid or was for a video not viewable by the calling user.|
|903||Invalid privacy type||Valid types are anybody, nobody, contacts, users, password, or disable.|