# Auto delete a Playback recording after 24 hours.

**URL:** <https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005>\
**Category:** Wowza GoCoder SDK\
**Tags:** recording\
**Created:** [September 26, 2018, 3:09pm UTC](https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005 "2018-09-26T15:09:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg\_Anderson](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Greg\_Anderson](https://community.wowza.com/u/Greg_Anderson)\
**Post date:** [September 26, 2018, 3:09pm UTC](https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005/1 "2018-09-26T15:09:50Z")

</div>

Using the SDK and Woza player we are wanting to record the live streaming feed and only have it available for 24 hours then the recording will be deleted.

We planned on live streaming only so this leaves me with two questions.

Two questions.  
How do we set up the recordings?  
How do we set the auto delete?

Thank you

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 26, 2018, 4:51pm UTC](https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005/2 "2018-09-26T16:51:11Z")

</div>

Are you using Wowza Streaming Engine or Wowza Streaming Cloud @Greg Anderson?

---

<div class="post-metadata">

**Author:** ![Greg\_Anderson](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Greg\_Anderson](https://community.wowza.com/u/Greg_Anderson)\
**Post date:** [September 26, 2018, 6:22pm UTC](https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005/3 "2018-09-26T18:22:53Z")

</div>

@Rose Power We are planning on using the Wowza Streaming Cloud.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 26, 2018, 9:08pm UTC](https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005/5 "2018-09-26T21:08:25Z")

</div>

We currently do not offer a way to auto delete recorded streams. You’d have to manually look in the Cloud Manager to see how old they are and delete or use the Cloud Rest API to check how old they are and delete.

[https://sandbox.cloud.wowza.com/api/v1.2/docs#operation/deleteStreamTarget](https://sandbox.cloud.wowza.com/api/v1.2/docs#operation/deleteStreamTarget)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 26, 2018, 9:08pm UTC](https://community.wowza.com/t/auto-delete-a-playback-recording-after-24-hours/52005/6 "2018-09-26T21:08:09Z")

</div>

You can record live streams @Greg Anderson through the Streaming Cloud Manager or you can record them using the Streaming Cloud REST API.

1. [Through the UI](https://www.wowza.com/docs/record-live-streams-and-transcoders-in-wowza-streaming-cloud)

2. [Through the Streaming Cloud REST API](https://www.wowza.com/docs/how-to-record-a-transcoder-by-using-the-wowza-streaming-cloud-rest-api#createRecording)
