# Delete CloudRecording failing for some app users

**URL:** <https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053>\
**Category:** API and Webhooks\
**Created:** [February 13, 2020, 9:49pm UTC](https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053 "2020-02-13T21:49:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom-test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom-test/32/2531_2.png) [@zoom-test](https://devforum.zoom.us/u/zoom-test)\
**Post date:** [February 13, 2020, 9:49pm UTC](https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053/1 "2020-02-13T21:49:45Z")

</div>

**Description**  
My app in the marketplace has the ability to delete recordings when required. For most users of the app this works just fine to call this endpoint:

/v2/meetings/recording\_uuid/recordings?action=trash  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdelete](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdelete)

But for some users I get a “No Permission” response:

Is there an Account Setting that disables delete permission but for only certain users/OAuth tokens?

**Error**

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

```

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

**Which Endpoint/s?**  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdelete](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdelete)

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

1. Build OAuth app with recording delete permissions
2. Make some zoom recordings
3. Try to delete, for some accounts I get “No Permission”

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 13, 2020, 10:20pm UTC](https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053/2 "2020-02-13T22:20:40Z")

</div>

Hey @zoom-test,

Is this a User Level OAuth app? That error usually means that user does not have the proper permissions to delete a Cloud Recording. I have seen this happen when a users permissions change after installation of the app.

Related post:

> [@Error on get webinar participants](https://devforum.zoom.us/t/error-on-get-webinar-participants/7736):
>
> Account-level app. I see in logs weird (undocumented) error on attempt to [get webinar participants report](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportwebinarparticipants): { "code"=200, "message"="No permission." } The error appears on a bunch of Zoom accounts. What might be the reason(s) of such an error? P.S. Doesn’t seem to be a missing report:read:admin scope issue because the error in this case is a bit different: { "code": 4700, "message": "Invalid access token, does not contain scopes: [report:read:admin, zms:report:read]" }

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zoom-test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom-test/32/2531_2.png) [@zoom-test](https://devforum.zoom.us/u/zoom-test)\
**Post date:** [February 13, 2020, 10:26pm UTC](https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053/3 "2020-02-13T22:26:52Z")

</div>

This is an Account Level App.

I have seen that scenario happen before though since it seems that the OAuth token you get when you connect the app is still tied to the user who connected it. So if they were ever downgraded from admin then you lose permissions. Which means it’s Account Level but only as far as the user who authenticated has permissions.

Is it possible then that even though I am requesting read/write permissions for recordings that if the user doesn’t have that permission themselves then I won’t be able to?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 13, 2020, 11:33pm UTC](https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053/4 "2020-02-13T23:33:48Z")

</div>

Hey @zoom-test,

Good question.

> [@zoom-test](#):
>
> Is it possible then that even though I am requesting read/write permissions for recordings that if the user doesn’t have that permission themselves then I won’t be able to?

Since this app is an account level, you should be able to get any of the information specified in the scopes. Unless the user who installed it had their permissions changed.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:27pm UTC](https://devforum.zoom.us/t/delete-cloudrecording-failing-for-some-app-users/8053/5 "2020-08-21T19:27:06Z")

</div>

Closed on August 21, 2020, 7:27pm UTC


