Skip to main content
PATCH
/
libraries
/
{libraryId}
/
folders
/
bulk
/
move
Bulk Move Folder
curl --request PATCH \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders/bulk/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_parent_id": "59ac8aa5-c569-4c82-8e3d-c10dd026813a",
  "folder_ids": [
    "7ed64692-5a5a-4d21-aef1-63c73ea5650e",
    "0336d0c2-c1aa-4041-b956-1d4afd2935e7"
  ]
}
'
{
  "message": "Folders 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_parent_id
string
required

New parent id for the moving folder

folder_ids
string[]
required

Array of the moving folder's ids

Single id of the moving folder

Response

The response is of type object.