Wowza Community

Delete the Stream Target Via Curl Command PHP

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

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

 The server has not found anything matching the request URI

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

Thanks

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