Skip to main content

Renaming Videos

If you wish to update the title of an uploaded video then this API enables you to change title of an existing video. You would need to send an

HTTP POST request to{videoID}

The POST request body should include a new video title:

"title": "new-title"

In order to avoid multiple callbacks for uploading and then change the title of the video, it is recommended to pass the title while uploading the video OR importing video from a URL.

When uploading a video the title attribute in the url sets the title for the uploading video before start uploading. Similarly, title property in PUT request body while importing video from url sets the title for the video before uploading.

Sample Code for Renaming a Video​

The sample API Secret Key is a1b2c3d4e5. The video ID are written as {{videoID}} and new video title as {{videoTitle}}. Replace these with the actual videoID and videoTitle.

curl -X POST \
'{videoID}' \
-H 'Accept: application/json' \
-H 'Authorization: Apisecret a1b2c3d4e5' \
-H 'Content-Type: application/json' \
-d '{
"title": "{{newTitle}}"

Sample Response​

"message": "Successfully updated"