# Curl command to Enable Stream Targets

**URL:** <https://community.wowza.com/t/curl-command-to-enable-stream-targets/48159>\
**Category:** Wowza Developer Dojo\
**Created:** [February 21, 2017, 4:43pm UTC](https://community.wowza.com/t/curl-command-to-enable-stream-targets/48159 "2017-02-21T16:43:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harry\_seow](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@harry\_seow](https://community.wowza.com/u/harry_seow)\
**Post date:** [February 21, 2017, 4:43pm UTC](https://community.wowza.com/t/curl-command-to-enable-stream-targets/48159/1 "2017-02-21T16:43:39Z")

</div>

Hi,

I looked around but i couldnt find the command to enable stream targets with curl.

Anyone knows how, or where i should find information on it.

Thanks,

Harry

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [March 15, 2017, 9:02pm UTC](https://community.wowza.com/t/curl-command-to-enable-stream-targets/48159/2 "2017-03-15T21:02:07Z")

</div>

Hello @harry seow

I would use this article and instead of the POST to create a stream target, I would use a PUT to update the stream target you want to enable: [https://www.wowza.com/docs/stream-targets-query-examples-push-publishing](https://www.wowza.com/docs/stream-targets-query-examples-push-publishing)

Then add this key value pair:

“enabled”:true

Regards,

Jason
