Skip to main content

Delete Folder

If the folder created is no longer required, and you wish to delete it then this API enables you to delete an existing folder. You would need to send an

HTTP GET request to https://dev.vdocipher.com/api/videos/folders/:folderId.

note

Deleting a folder does not delete the videos inside. The contained videos will move to the parent folder. To delete videos, you have to delete them separately.

Sample Code for Deleting a Folder​

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

The sample API Secret Key is a1b2c3d4e5.

curl -X DELETE \
https://dev.vdocipher.com/api/videos/folders/:folderId \
-H 'Accept: application/json' \
-H 'Authorization: Apisecret a1b2c3d4e5' \
-H 'Content-Type: application/json'

Sample Response from API​

{
"message": "Folder Deleted"
}