Skip to main content

Rename Folder

If you wish to change the name of a folder then this API enables you to rename an existing folder. You would need to send an

HTTP PUT request to https://dev.vdocipher.com/api/videos/folders/{{folderID}}.

The PUT request body should include a new name for the folder.

{
"name": "{{newFolderName}}"
}

Sample Code for Renaming a Folder​

The sample folder ID is written as {{folderId}}. Replace this with the desired folder ID.

The sample new folder name is written as {{newFolderName}}. Replace this with the desired new folder name.

The sample API Secret Key is a1b2c3d4e5.

curl -X PUT \
https://dev.vdocipher.com/api/videos/folders/{{folderID}} \
-H 'Accept: application/json' \
-H 'Authorization: Apisecret a1b2c3d4e5' \
-H 'Content-Type: application/json' \
-d '{
"name": "{{newFolderName}}"
}'

Sample Response from API​

{
"message": "Folder has been updated"
}