Skip to main content
PUT
/
libraries
/
{libraryId}
/
folders
/
{folderId}
Update Folder
curl --request PUT \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders/{folderId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "New Folder",
  "parent_id": "59ac8aa5-c569-4c82-8e3d-c10dd026813a"
}
'
{
  "data": {
    "created_at": "2025-11-10T14:35:09.411038+06:00",
    "updated_at": "2025-11-10T14:42:38.81245908+06:00",
    "name": "New Folder",
    "id": "8946e490-2cf3-48d2-82ae-99ab8e65a795",
    "library_id": "314221a1-3cbf-4d3c-846e-f6c22bc43064"
  },
  "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
name
string
required
parent_id
string

Response

data
object
required
message
string
required
success
boolean
required