Delete video stream
DELETE
/api/v1/videostreams/{id}Roles required:
Delete a video stream by providing the video stream ID.
Parameters
Path Parameters
id*
Video Stream ID
Typeinteger
RequiredExample
1234567890
Responses
OK
DELETE
/api/v1/videostreams/{id}Samples
cURL
curl -X DELETE https://openfish.appspot.com/api/v1/videostreams/{id}
JavaScript
fetch("https://openfish.appspot.com/api/v1/videostreams/{id}", { method: "DELETE" })
.then(response => response.json())
.then(data => console.log(data));
PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://openfish.appspot.com/api/v1/videostreams/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Python
import requests
response = requests.delete("https://openfish.appspot.com/api/v1/videostreams/{id}")
print(response.json())