# Cant delete cloud recordings via API (using admin JWT) "200: No permission"

**URL:** <https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531>\
**Category:** API and Webhooks\
**Created:** [February 18, 2022, 5:18pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531 "2022-02-18T17:18:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardo-dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ricardo-dev/32/35266_2.png) [@ricardo-dev](https://devforum.zoom.us/u/ricardo-dev)\
**Post date:** [February 18, 2022, 5:18pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/1 "2022-02-18T17:18:00Z")

</div>

**Description**  
Hello,

Im trying to delete either all or some cloud recordings from any meeting, hosted by any user and the endpoint fails with a No permission error. This JWT was generated by an Admin user. This admin user was only created to manage cloud recordings, it has no meetings belonging to it. This is for a nodejs application/internal api that needs account-wide access, no user auth.

With this user, I can delete recordings via the zoom Manage Recordings browser UI

What could be happening?

Thanks in advance

**Error**

```auto
{
	"code": 200,
	"message": "No permission."
}

```

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
DELETE v2/meetings/88285443629/recordings?action=trash  
or  
DELETE v2/meetings/WG3eKYJmSsm6AlN4%252BixobQ%253D%253D/recordings?action=trash  
or  
DELETE v2/meetings/WG3eKYJmSsm6AlN4%252BixobQ%253D%253D/recordings/87871e38-4132-4b7a-9a60-7572ba976850?action=trash

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

```auto
> DELETE /v2/meetings/WG3eKYJmSsm6AlN4%252BixobQ%253D%253D/recordings?action=trash HTTP/2
> Host: api.zoom.us
> user-agent: insomnia/2021.7.2
> cookie: cred=2005BB361FAF5786160B753BA3B60AFE; _zm_ssid=aw1_c__ru4AqHOQaKANUcNv3MP4Q
> authorization: Bearer {JWT}
> accept: */*

```

```auto
{
	"code": 200,
	"message": "No permission."
}

```

**Screenshots (If applicable)**  
None

**Additional context**  
If i pass an invalid id or uuid i get a

```auto
{
	"code": 3301,
	"message": "This recording does not exist."
}

```

---

<div class="post-metadata">

**Author:** ![ricardo-dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ricardo-dev/32/35266_2.png) [@ricardo-dev](https://devforum.zoom.us/u/ricardo-dev)\
**Post date:** [February 18, 2022, 5:28pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/2 "2022-02-18T17:28:31Z")

</div>

I do have this account setting enabled.

```auto
The host can delete cloud recordings

```

---

<div class="post-metadata">

**Author:** ![ricardo-dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ricardo-dev/32/35266_2.png) [@ricardo-dev](https://devforum.zoom.us/u/ricardo-dev)\
**Post date:** [February 28, 2022, 4:36pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/3 "2022-02-28T16:36:11Z")

</div>

Hello, any help with this issue?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [February 28, 2022, 11:20pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/4 "2022-02-28T23:20:50Z")

</div>

Hi Ricardo,  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
I see that you are getting No permission message when trying to delete meeting recordings via API.  
Could you please try generating a new JWT token an try again?

I do not see why you could be getting the error because the JWT will let you delete recordings that belong to that account.

Hope this helps,  
Elisa

---

<div class="post-metadata">

**Author:** ![ricardo-dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ricardo-dev/32/35266_2.png) [@ricardo-dev](https://devforum.zoom.us/u/ricardo-dev)\
**Post date:** [February 28, 2022, 11:36pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/5 "2022-02-28T23:36:53Z")

</div>

Hello @elisa.zoom  
Thank you for your reply.

I’ve just generated another JWT inside the Marketplace, then my JWT Account-wide App, then App Credentials, then JWT Token. I can browse the other endpoints just fine, but i still cant delete any recording. Wish i could tell you something else.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 2, 2022, 9:57pm UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/6 "2022-03-02T21:57:30Z")

</div>

Hi @ricardo-dev  
Interesting, I would like to debug this issue further because I am not able to replicate this behavior on my end. Please send me an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread and in that email could you please share the email address associated to your account

Best,  
Elisa

---

<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:** [April 2, 2022, 7:57am UTC](https://devforum.zoom.us/t/cant-delete-cloud-recordings-via-api-using-admin-jwt-200-no-permission/64531/7 "2022-04-02T07:57:57Z")

</div>

Closed on April 2, 2022, 7:57am UTC

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