I am uploading video entries through Kaltura Contribution Widget. I would like to allow users to select length of the free preview that will be shown for users who don't have rights to see entire video. I wanted to implement that by creating different AccessControlProfiles (with different preview lengths) and then assigning profile to uploaded video after user selects preview length.
Is there a way to assign access control profile using API? I looked through the docs but couldn't find the answer.