# Delete old cloud recordings

**URL:** <https://devforum.zoom.us/t/delete-old-cloud-recordings/50127>\
**Category:** API and Webhooks\
**Created:** [May 12, 2021, 2:55pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127 "2021-05-12T14:55:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![estebanismaelmo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estebanismaelmo/32/27047_2.png) [@estebanismaelmo](https://devforum.zoom.us/u/estebanismaelmo)\
**Post date:** [May 12, 2021, 2:55pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/1 "2021-05-12T14:55:33Z")

</div>

I’m trying to delete past cloud recordings , but i can only delete recordings for the last time of the recurrent meeting.  
What can i do?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 13, 2021, 3:19pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/2 "2021-05-13T15:19:22Z")

</div>

Hi @estebanismaelmo,

Good question—you should be able to delete recordings for past instances by passing the past instance’s UUID in the request URL for this endpoint:

> **[Delete meeting recordings - Cloud Recording - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdelete)**
>
> Delete all recording files of a meeting.
> 
> Scopes: recording:write:admin recording:write 
> Rate Limit Label: Light
> Prerequisites:
> 
> Cloud Recording should...

You’re correct that passing the Meeting ID will point the request to the last instance.

You can retrieve a list of past meeting instances (UUIDs) for a Meeting ID using this endpoint:

> **[List ended meeting instances - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/pastmeetings)**
>
> Get a list of ended meeting instances
> Scopes: meeting:read:admin meeting:read
> 
> Rate Limit Label: Medium
> 
> Authorization
> 
> Flow: authorizationCode
> 
> Author...

Let me know if this helps!  
Will

---

<div class="post-metadata">

**Author:** ![estebanismaelmo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estebanismaelmo/32/27047_2.png) [@estebanismaelmo](https://devforum.zoom.us/u/estebanismaelmo)\
**Post date:** [May 13, 2021, 3:20pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/3 "2021-05-13T15:20:58Z")

</div>

@will.zoom anks for the quick response! Im getting the following message on post man

```
{
"code": 3001,
"message": "Meeting does not exist: ."

```

}

But the meeting already exists

---

<div class="post-metadata">

**Author:** ![estebanismaelmo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estebanismaelmo/32/27047_2.png) [@estebanismaelmo](https://devforum.zoom.us/u/estebanismaelmo)\
**Post date:** [May 13, 2021, 3:55pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/4 "2021-05-13T15:55:15Z")

</div>

@will.zoom testing on postman i got the following.  
the uuid of a meeting when i get the user meetings, it is different from when i get the recordings of a meeting.  
This is when i get the user meetings

and this is whe i get the recordings of a meeting

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 14, 2021, 3:18pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/5 "2021-05-14T15:18:06Z")

</div>

Hi @estebanismaelmo,

Thanks for sharing those details—in taking a look, I can see that the UUID you’ve shared is for an upcoming meeting instance (not yet started).

In order to query our Recordings endpoints by UUID, you’ll need to use a UUID associated with a past meeting instance.

Let me know if this helps to clarify 🙂

Best,  
Will

---

<div class="post-metadata">

**Author:** ![estebanismaelmo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estebanismaelmo/32/27047_2.png) [@estebanismaelmo](https://devforum.zoom.us/u/estebanismaelmo)\
**Post date:** [May 14, 2021, 3:25pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/6 "2021-05-14T15:25:40Z")

</div>

Thanks @will.zoom ! Well, I´m trying to get all cloud recordings. But, I only get the the last ones, doesn´t matter if i pass the uuid

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 14, 2021, 11:24pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/7 "2021-05-14T23:24:14Z")

</div>

Hey @estebanismaelmo,

Are you able to share an example of the request that you’re making when you see this behavior?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![estebanismaelmo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estebanismaelmo/32/27047_2.png) [@estebanismaelmo](https://devforum.zoom.us/u/estebanismaelmo)\
**Post date:** [May 17, 2021, 12:50pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/8 "2021-05-17T12:50:56Z")

</div>

This is the response if i try the endpoint /meetings/9546322537/recordings

If I try the request with de uuid instead of the id, i got the same response. In this recurrent meeting i have six recordings. And i only can get two of them

---

<div class="post-metadata">

**Author:** ![estebanismaelmo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estebanismaelmo/32/27047_2.png) [@estebanismaelmo](https://devforum.zoom.us/u/estebanismaelmo)\
**Post date:** [May 17, 2021, 3:29pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/9 "2021-05-17T15:29:18Z")

</div>

@will.zoom@MaxM im doing the following (with postman)

**DELETE**

But i got

```auto
{
   "code": 3301,
   "message": "Esta grabación no existe."
}

```

But the recording exist.

Also, im working from node js server and I got

```auto
code: 'ECONNREFUSED',
  timings: {
    start: 1621264790425,
    socket: 1621264790425,
    lookup: 1621264790427,
    connect: undefined,
    secureConnect: undefined,
    upload: undefined,
    response: undefined,
    end: undefined,
    error: 1621264790428,
    abort: undefined,
    phases: {
      wait: 0,
      dns: 2,
      tcp: undefined,
      tls: undefined,
      request: undefined,
      firstByte: undefined,
      download: undefined,
      total: 3
    }
 }
}

```

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 18, 2021, 5:00pm UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/10 "2021-05-18T17:00:45Z")

</div>

Hi @estebanismaelmo,

Thanks for sharing an example! In taking a closer look at the UUID you shared, I can see that this particular recording appears to have been moved to the trash, which I believe is why you’re getting this response.

If you have more examples where you’re seeing this, I’m happy to take a closer look at those as well. However, given the sensitive nature of the requests/payloads, can you please share any additional examples with us at [developersupport@zoom.us](mailto:developersupport@zoom.us) and reference this thread?

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 18, 2021, 3:01am UTC](https://devforum.zoom.us/t/delete-old-cloud-recordings/50127/11 "2021-06-18T03:01:41Z")

</div>

Closed on June 18, 2021, 3:01am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
