# Zoom delete recording response No permission

**URL:** <https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599>\
**Category:** API and Webhooks\
**Created:** [October 31, 2021, 8:28am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599 "2021-10-31T08:28:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![spandan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spandan/32/32303_2.png) [@spandan](https://devforum.zoom.us/u/spandan)\
**Post date:** [October 31, 2021, 8:28am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/1 "2021-10-31T08:28:16Z")

</div>

## Not able to delete the zoom recording using delete API

**I am not able to delete the zoom recording using delete API.**  
API : [https://api.zoom.us/v2/meetings/{meeting\_id}/recordings](https://api.zoom.us/v2/meetings/%7Bmeeting_id%7D/recordings)  
Host role: Owner  
type: 2

**response:**  
{  
“code”: 200,  
“message”: “No permission.”  
}

---

<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:** [November 1, 2021, 2:56pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/2 "2021-11-01T14:56:37Z")

</div>

Hi @spandan,

Can you check to see if the following setting is enabled on your account?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/9/292aad221f658774f298da078d4ca5b052f872a1.png)

This can be accessed from this page:

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://zoom.us/signin)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![spandan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spandan/32/32303_2.png) [@spandan](https://devforum.zoom.us/u/spandan)\
**Post date:** [November 2, 2021, 4:48am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/3 "2021-11-02T04:48:56Z")

</div>

Yes, i enabled **The host can delete cloud recordings** option at the account level.

---

<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:** [November 3, 2021, 1:45pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/4 "2021-11-03T13:45:53Z")

</div>

Hi @spandan,

Are you authorizing this request using JWT or OAuth?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![mdryan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdryan/32/32506_2.png) [@mdryan](https://devforum.zoom.us/u/mdryan)\
**Post date:** [November 15, 2021, 1:09pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/5 "2021-11-15T13:09:21Z")

</div>

I have exactly the same issue, authorizing with JWT. That setting is enabled (doesn’t actually appear to be possible to disable it for some reason)

---

<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:** [November 17, 2021, 1:54pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/6 "2021-11-17T13:54:28Z")

</div>

@mdryan can you confirm that the recording belongs to the same account as the JWT token you’re using?

---

<div class="post-metadata">

**Author:** ![mdryan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdryan/32/32506_2.png) [@mdryan](https://devforum.zoom.us/u/mdryan)\
**Post date:** [November 18, 2021, 9:14am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/7 "2021-11-18T09:14:24Z")

</div>

Yes, definitely the same account as the JWT token.

I can get the meeting details and download the video just fine, but when it comes to then deleting it I receive 200/no permission

---

<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:** [November 22, 2021, 9:31am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/8 "2021-11-22T09:31:15Z")

</div>

Thanks for confirming @mdryan. Can you open up a request with us [here](https://devsupport.zoom.us) and share the full details of the request you’re making, the JWT token you’re using and, the recording/meeting ID? This will help us to take a closer look.

Thanks!

---

<div class="post-metadata">

**Author:** ![mdryan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdryan/32/32506_2.png) [@mdryan](https://devforum.zoom.us/u/mdryan)\
**Post date:** [November 22, 2021, 10:32am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/9 "2021-11-22T10:32:07Z")

</div>

I’m an idiot. The endpoint is

`DELETE /meetings/{meetingId}/ **recordings** /{recordingId}`

For some reason I hadn’t noticed that **recordings** in the endpoint documentation until just now when I came to submit the ticket. As soon as I hit the correct endpoint it actually works as expected!

One 11 character commit later, it appears to be working in production and very soon my account will not be quite so ridiculously over quota!

Apologies for confusion and thanks for your help.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [November 22, 2021, 10:35pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/10 "2021-11-22T22:35:30Z")

</div>

Happy you figured it out!

---

<div class="post-metadata">

**Author:** ![spandan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spandan/32/32303_2.png) [@spandan](https://devforum.zoom.us/u/spandan)\
**Post date:** [November 27, 2021, 8:42am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/11 "2021-11-27T08:42:24Z")

</div>

I am using the JWT token & the token works for deleting account level recording but it’s not working at the admin level. Please help ☹

---

<div class="post-metadata">

**Author:** ![spandan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spandan/32/32303_2.png) [@spandan](https://devforum.zoom.us/u/spandan)\
**Post date:** [November 27, 2021, 8:45am UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/12 "2021-11-27T08:45:03Z")

</div>

```auto
  let axiosConfig = {
    headers : {
      'Content-Type' : 'application/json',
      'Accept' : 'application/json',
      'Authorization' : `Bearer ${zoomToken}`
      }
    }  
  await axios.delete(`https://api.zoom.us/v2/meetings/${meetingNo}/recordings`, axiosConfig)
  .then((res) => {
    console.log('Meeting Reording Deleted ')
  })
  .catch((err) => {
    console.log("AXIOS ERROR: ", err.response.data.message);
    if(err.response.data.message === "No permission."){
      console.log("WTF")
    }
  })

```

I have almost 10 hosts same code works for the account-level host but not working for the root account.

---

<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:** [December 2, 2021, 1:52pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/13 "2021-12-02T13:52:36Z")

</div>

Hi @spandan,

Which endpoint are you calling—this one?

> **[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...

It appears that way—however, you will need to ensure you’re passing the action to delete as a query parameter as outlined in the docs. Can you double check that?

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:** [January 1, 2022, 11:53pm UTC](https://devforum.zoom.us/t/zoom-delete-recording-response-no-permission/59599/14 "2022-01-01T23:53:10Z")

</div>

Closed on January 1, 2022, 11:53pm UTC

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