# Rest API stop recording not working

**URL:** <https://community.wowza.com/t/rest-api-stop-recording-not-working/34413>\
**Category:** Wowza Developer Dojo\
**Created:** [November 1, 2015, 6:30pm UTC](https://community.wowza.com/t/rest-api-stop-recording-not-working/34413 "2015-11-01T18:30:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Golebiowski](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@Piotr\_Golebiowski](https://community.wowza.com/u/Piotr_Golebiowski)\
**Post date:** [November 1, 2015, 6:30pm UTC](https://community.wowza.com/t/rest-api-stop-recording-not-working/34413/1 "2015-11-01T18:30:12Z")

</div>

I can start streamrecorder with Rest API without problems. I received {“success”:false,“message”:“Unknown action: stopRecording”,“data”:null}, when I’m trying to stop streamrecorder.

I’m using curl with

```auto
curl -X GET --header 'Accept:application/json; charset=utf-8' http://myserver:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/publishlive/instances/_definst_/streamrecorders/4funtv/actions/stopRecording

```

---

<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:** [November 2, 2015, 9:07am UTC](https://community.wowza.com/t/rest-api-stop-recording-not-working/34413/2 "2015-11-02T09:07:53Z")

</div>

Hello

In running a quick test (against 4.3), I created a recorder and then subsequently stopped it with a very similar command but used the **PUT** verb in lieu of the GET as follows:

```auto
curl -X PUT --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/streamrecorders/myStream/actions/stopRecording

```

The output was:

```auto
{"success":true,"message":"Recording (myStream) stopped","data":null}

```

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Rustem\_Burak\_Tokdemi](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Rustem\_Burak\_Tokdemi](https://community.wowza.com/u/Rustem_Burak_Tokdemi)\
**Post date:** [August 24, 2019, 5:20am UTC](https://community.wowza.com/t/rest-api-stop-recording-not-working/34413/3 "2019-08-24T05:20:25Z")

</div>

as always wowza docs forgot to mention the details i have never seen such awful docs anywhere else
