delete a video

  • This API can delete a video for video unique id.

request to delete a video.#

bash
curl -X DELETE \
"https://develop.kokoon.cloud/kokoon/api/sr/v3/video/${vid}" \
-H "Content-Type:application/json" \
-H 'Authorization: eyJraWQiOiJPMGs5...eyJzdWIiOiIzN2U3NzYxM' \
-d "{}"

request parameter#

  • vid : video unique id.

response#

json
{
"vid": "de5e9990-c0fb-11ee-961f-d12490e606ad"
}

response body field#

field type description
vidstringvideo unique id

error response#

  • video does not exist.
json
{
"message": "fail to delete a video."
}