# Delete the Stream Target Via Curl Command PHP

**URL:** https://community.wowza.com/t/delete-the-stream-target-via-curl-command-php/47180
**Category:** Wowza Developer Dojo
**Created:** [June 22, 2016, 11:12am UTC](https://community.wowza.com/t/delete-the-stream-target-via-curl-command-php/47180 "2016-06-22T11:12:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sanjay\_yadav](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@sanjay\_yadav](https://community.wowza.com/u/sanjay_yadav)
#### Post date: [June 22, 2016, 11:12am UTC](https://community.wowza.com/t/delete-the-stream-target-via-curl-command-php/47180/1 "2016-06-22T11:12:08Z")

</div>

Hello Friends,

I am trying to make the API for Wowza to create and Delete the Stream targets and so far i have managed to create and restart the Stream targets but I am having issue now how can i delete any specific stream target from the Push Public.

at first i was Simply trying through curl command on the shell

```auto
curl -X DELETE --header 'Accept: application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/ppsource

```

but it gives me

```auto
 The server has not found anything matching the request URI

```

and now i have to convert this code to the PHP Also.

Thanks

---

<div class="post-metadata">

### Author: ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)
#### Post date: [July 21, 2016, 8:59pm UTC](https://community.wowza.com/t/delete-the-stream-target-via-curl-command-php/47180/2 "2016-07-21T20:59:23Z")

</div>

Hi,

Can you post the full entry in your PushPublishMap.txt file? It is likely that you are referring to the source stream name instead of the entry name.

Michelle
