Skip to main content
PUT
/
libraries
/
{libraryId}
Update Library
curl --request PUT \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Product Launch Videos",
  "region": "us-east",
  "usage_type": "marketing-updated",
  "description": "Videos for product launches and announcements updated.",
  "default_privacy": "unlisted",
  "tags": [
    "product",
    "launch",
    "marketing",
    "testing"
  ]
}
'
{
  "data": {
    "updated_at": "2025-10-09T15:02:10.336839114+06:00",
    "created_at": "2025-10-09T14:44:30.511786Z",
    "created_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
    "updated_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
    "name": "Product Launch Videos",
    "usage_type": "marketing",
    "description": "Videos for product launches and announcements.",
    "default_privacy": "unlisted",
    "status": "provisioning",
    "region": "us-east-1",
    "id": "5c59072e-2762-4ae9-889e-4ffbe32f7662",
    "distribution_id": "010a8dad-d95c-4331-be79-59c1f0642363",
    "organization_id": "677826f5-1aea-4cba-8973-043cdbc60f35",
    "tags": [
      "product",
      "launch",
      "marketing"
    ]
  },
  "message": "Library 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
description
string
required

Short summary of what this library is used for.

name
string

The display name of the library.

region
string

Deployment region or storage zone for the library.

usage_type
string

Defines how the library will be used.

default_privacy
string

Sets the default privacy mode for uploaded assets.

tags
string[]

List of labels or keywords to categorize and quickly filter libraries (e.g., ["marketing", "training", "internal"]).

Response

data
object
required
message
string
required
success
boolean
required