Skip to main content
PATCH
/
libraries
/
{libraryId}
/
videos
/
{videoId}
/
thumbnails
/
set
Set Thumbnail
curl --request PATCH \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos/{videoId}/thumbnails/set \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "thumbnail_url": "https://example.com/e597d73e-cca8-4b62-858f-aa655e31df64/thumbnail.jpg"
}
'
{
  "message": "Video Thumbnail 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.

videoId
string
required

Unique identifier of the targeted video resource.

Body

application/json
thumbnail_url
string
required

Thumbnail URL which will be selected as defualt in video player preview.

Response

message
string
required
success
boolean
required