Skip to main content
PATCH
/
libraries
/
{libraryId}
/
folders
/
{folderId}
/
move
Move Folder
curl --request PATCH \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders/{folderId}/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_parent_id": "5df82c45-defc-4f75-9caa-535c466e9200"
}
'
{
  "data": {
    "created_at": "2025-10-20T15:37:53.084332+06:00",
    "updated_at": "2025-10-20T15:38:52.963289858+06:00",
    "parent_id": "5df82c45-defc-4f75-9caa-535c466e9200",
    "name": "Folder New 2",
    "id": "a2cf2ed7-90ea-4770-9995-082bc6f96946",
    "library_id": "ed286498-36a0-48b0-9211-030ddfed2bc0"
  },
  "message": "Folder 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.

folderId
string
required

Unique identifier of the folder.

Body

application/json
new_parent_id
string

This will be associated as parent folder for the one we provide in the parameter.

Response

new_parent_id
string
required

new parent id for the moving folder