Skip to main content

Replace and Delete Tags

This API enables you to replace existing tags from video(s), and to even delete existing tags. You need to send an HTTP PUT request to https://dev.vdocipher.com/api/videos/tags. This replaces existing tags in a video with the specified tags.

PUT Request Body

{
"videos":["{{videoID1}}", "{{videoID2}}"],
"tags":["{{tag1}}", "{{tag2}}"]
}

To delete all tags associated with a video you can simply pass an empty array to tags, as follows:

{
"videos":[ "{{videoID1}}", "{{videoID2}}"],
"tags":[]
}

Sample Code for Tag Replace​

The sample tag is written as {{tag}}. Replace this with the desired tag.

The sample API Secret Key is a1b2c3d4e5.

curl -X PUT \
https://dev.vdocipher.com/api/videos/tags \
-H 'Accept: application/json' \
-H 'Authorization: Apisecret a1b2c3d4e5' \
-H 'Content-Type: application/json' \
-d '{
"videos":[
"{{videoID1}}",
"{{videoID2}}"
],
"tags":[
"{{tag}}"
]
}'