Skip to main content
PATCH
/
libraries
/
{libraryId}
/
videos
/
bulk-move
Bulk Move Videos to Folder
curl --request PATCH \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos/bulk-move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_folder_id": "0336d0c2-c1aa-4041-b956-1d4afd2935e7",
  "video_ids": [
    "25798cba-e3c0-41c8-9790-70fb3e549734",
    "069c3a46-3a75-41c2-a99e-ad00b0d939aa"
  ]
}
'
{
  "message": "Videos Updated Successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

libraryId
string
required

Unique identifier of the library.

Body

application/json
new_folder_id
string
required

new folder id where videos will be moved

video_ids
string[]
required

array of video ids

Response

message
string
required
success
boolean
required