Skip to main content

Deleting Videos

Videos can be deleted using the delete API, by sending an HTTP DELETE request to https://dev.vdocipher.com/api/videos with the videoID as query. You can delete multiple videos by separating the videoIDs by comma in the HTTP query, as follows:

'https://dev.vdocipher.com/api/videos?videos={{videoID1}},{{videoID2}}

The playback of videos is often cached by multiple cache servers and it is possible for a video to keep playing for a short while even after it is deleted from account.

Deleting a video will stop a video from counting towards the storage accounting.

Sample Code for Video Deletion#

The sample API Secret Key is a1b2c3d4e5. videoIDs are written as {{videoID1}} and {{videoID2}}. Replace these with the actual videoIDs.

curl -X DELETE \  'https://dev.vdocipher.com/api/videos?videos={{videoID1}},{{videoID2}}' \  -H 'Accept: application/json' \  -H 'Authorization: Apisecret a1b2c3d4e5' \  -H 'Content-Type: application/json'