Move videos to folder
Move up to 50 videos into one folder.
POST https://cotlet.dev/api/v1/vimeo/folders/{folder_id}/videos-to-folder/move
write
Moves the videos to the folder and returns how many moved and which were skipped. Vimeo moves up to 50 selected videos at a time, so a longer list is refused. A video sits in one folder, so a moved video leaves its old one. Share links and embed codes do not change. It reaches no one and a second call moves the videos back, so it does not ask for confirmation by default.
Parameters
| Name | Type | Description |
|---|---|---|
| video_ids string[] required | string[] | Video IDs from search_videos, 50 at most. |
| folder_id string required | string | Destination folder ID from list_folders. |
Request
curl -X POST https://cotlet.dev/api/v1/vimeo/folders/20481/videos-to-folder/move \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"video_ids":["912345611","912345612","912345613"]}' result = client.call("vimeo", "move_videos_to_folder", {"video_ids":["912345611","912345612","912345613"],"folder_id":"20481"}) const result = await cotlet.call('vimeo', 'move_videos_to_folder', {"video_ids":["912345611","912345612","912345613"],"folder_id":"20481"}); cotlet call vimeo move_videos_to_folder --data '{"video_ids":["912345611","912345612","912345613"],"folder_id":"20481"}' Example response
{
"folder_id": "20481",
"folder": "Webinars",
"moved": 3,
"skipped": []
}