# Enable/disable encode using REST

**URL:** <https://community.wowza.com/t/enable-disable-encode-using-rest/45364>\
**Category:** Wowza Developer Dojo\
**Created:** [July 9, 2015, 4:02am UTC](https://community.wowza.com/t/enable-disable-encode-using-rest/45364 "2015-07-09T04:02:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Oliva](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Manuel\_Oliva](https://community.wowza.com/u/Manuel_Oliva)\
**Post date:** [July 9, 2015, 4:02am UTC](https://community.wowza.com/t/enable-disable-encode-using-rest/45364/1 "2015-07-09T04:02:33Z")

</div>

I have an application with an incoming stream and I have enabled the transcoder using the Transrate template. I want to enable/disable encode dinamically (for example enable 240p) without restart application. Using the REST API I can enable qualities, but the changes are only applied if I restart the application:

curl -X PUT --header ‘Content-Type: application/json’ --header ‘Accept: application/json;charset=utf-8’ --digest -u “user:password” -d ‘{“enable”: false}’ [http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/test\_transcoding/transcoder/templates/transrate/encodes/240p](http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/test_transcoding/transcoder/templates/transrate/encodes/240p)

How can I do this?

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [July 20, 2015, 9:50am UTC](https://community.wowza.com/t/enable-disable-encode-using-rest/45364/2 "2015-07-20T09:50:09Z")

</div>

Hello

You won’t be able to dynamically start/stop a particular encode within the transcoder from the API at this time. You will need to restart the application.

Thanks,

Matt
