cURL
curl --request PATCH \ --url https://api.videodb.io/rtstream/{stream_id}/status/ \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "action": "stop" } '
{ "success": true, "message": "Operation successful" }
Start or stop an RTStream
action
start
stop
API key for authentication (sk-xxx format)
"rts-12345"
"stop"
RTStream status updated
true
"Operation successful"