Skip to main content
PATCH
/
video
/
{video_id}
Update video
curl --request PATCH \
  --url https://api.videodb.io/video/{video_id} \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "name": "Updated Video Name"
}
'
{
  "success": true,
  "data": {
    "id": "m-12345",
    "name": "video.mp4",
    "description": "Video description",
    "collection_id": "default",
    "length": 120.5,
    "size": 1048576,
    "stream_url": "https://stream.videodb.io/v/12345",
    "player_url": "https://console.videodb.io/player/12345",
    "thumbnail_url": "https://assets.videodb.io/thumb/12345.jpg",
    "created_at": "2023-11-07T05:31:56Z"
  }
}
Update metadata for a specific video, including its name and description.
  • Video IDs start with the prefix m-
  • Only provided fields are updated; omitted fields remain unchanged

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

video_id
string
required
Example:

"m-12345"

Body

application/json
name
string
Example:

"Updated Video Name"

Response

200 - application/json

Video updated

success
boolean
Example:

true

data
object