# Disconnect live broadcasting with API

**URL:** https://community.wowza.com/t/disconnect-live-broadcasting-with-api/52439
**Category:** Wowza Streaming Engine
**Created:** [December 7, 2018, 5:45pm UTC](https://community.wowza.com/t/disconnect-live-broadcasting-with-api/52439 "2018-12-07T17:45:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ujjaval\_Jani](https://avatars.discourse-cdn.com/v4/letter/u/b5a626/32.png) [@Ujjaval\_Jani](https://community.wowza.com/u/Ujjaval_Jani)
#### Post date: [December 7, 2018, 5:45pm UTC](https://community.wowza.com/t/disconnect-live-broadcasting-with-api/52439/1 "2018-12-07T17:45:22Z")

</div>

Hello,

I am facing the same issue and I am using streaming engine **version 4.7.6.**

We are broadcasting live from the mobile device and I want to disconnect it using rest API.

**Request:**  
curl -X PUT --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-Type:application/json; charset=utf-8’ [http://abc.com:8087/v2/servers/](http://abc.com:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/incomingstreams/6l5gcca3mu2ziatyak6reahluhmxx6t0/actions/disconnectStream

**Response:**

{“success”:false,“message”:“The server has not found anything matching the request URI”,“wowzaServer”:“4.7.6”,“code”:“404”}

I am fetching stream name using API

```auto
http://abc.com:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances

```

Please help and let me know if any other way available to disconnect live broadcast(stream)

Thanks,

Ujjaval
