Skip to main content
DELETE
/
api
/
v1
/
Account
/
{auth_id}
/
Call
/
{call_uuid}
/
Stream
/
Stop all Audio Streams
curl --request DELETE \
  --url https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/
import requests

url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/"

response = requests.delete(url)

print(response.text)
const options = {method: 'DELETE'};

fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/
This endpoint stops all active streams attached to a call at once. It is useful when you want to tear down every forked audio pipeline before hanging up the call, or when switching the call into a new flow. Streams that have already stopped are not affected.
Each stream closed this way fires its own Event=StopStream status callback (if status_callback_url was set on that stream) and closes its WebSocket. To stop a single fork while leaving others running, use Stop a Specific Audio Stream instead.
Authentication required:
  • X-Auth-ID - Your account Auth ID
  • X-Auth-Token - Your account Auth Token

Path parameters

FieldTypeRequiredDescription
auth_idstringYesYour account ID.
call_uuidstringYesUUID of the call.

Response

Returns HTTP 204 No Content on success, even if the call currently has no active streams (the operation is idempotent).

Example

cURL
curl -X DELETE 'https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/{call_uuid}/Stream/' \
  -H 'X-Auth-ID: {auth_id}' \
  -H 'X-Auth-Token: {auth_token}'