# Unable to delete meetings with meeting:write scope

**URL:** <https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687>\
**Category:** API and Webhooks\
**Created:** [August 31, 2018, 7:53pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687 "2018-08-31T19:53:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kent\_Sutherland](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@Kent\_Sutherland](https://devforum.zoom.us/u/Kent_Sutherland)\
**Post date:** [August 31, 2018, 7:53pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/1 "2018-08-31T19:53:24Z")

</div>

I’m trying to delete a meeting using the following API call but an error comes back about missing scopes. This is for an app created through the marketplace management section.

[https://api.zoom.us/v2/users/\<myUserID\>/meetings/\<meetingID](https://api.zoom.us/v2/users/%3CmyUserID%3E/meetings/%3CmeetingID)\>

{“code”:124,“message”:“Invalid access token, does not contain scopes: [user:write:admin]”}

&nbsp;

I also tried&nbsp;[https://api.zoom.us/v2/users/me/meetings/\<meetingID](https://api.zoom.us/v2/users/me/meetings/%3CmeetingID)\>, but that didn’t work either.

According to the permissions at&nbsp;[https://devdocs.zoom.us/docs/permissions](https://devdocs.zoom.us/docs/permissions) the meeting:write scope should be enough to delete the meeting. This meeting was created using the API, but I’m unable to delete the same meeting through the API.

Is this a bug in the API or is the documentation incorrect?

&nbsp;

EDIT: I’m also encountering the same error updating an existing meeting with PATCH.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 11, 2018, 4:48pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/2 "2018-09-11T16:48:01Z")

</div>

Hi Kent,&nbsp;

What scopes does your app currently have and is your app an account level app or user level app?

Thanks

---

<div class="post-metadata">

**Author:** ![Kent\_Sutherland](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@Kent\_Sutherland](https://devforum.zoom.us/u/Kent_Sutherland)\
**Post date:** [September 11, 2018, 5:14pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/3 "2018-09-11T17:14:29Z")

</div>

The requested scopes are user:read and&nbsp;meeting:write. The app is created on the marketplace, so I think that means it’s a user-level app.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 11, 2018, 5:39pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/4 "2018-09-11T17:39:29Z")

</div>

Hi Kent,&nbsp;

If the error is reporting back&nbsp; **user:write:admin&nbsp;** that is most likely an account level app and not user.&nbsp;With **meeting:write** you should be able to delete your own meetings. If you are using the /me/ API, this will be associated with the account owners meetings only.

Would you be able to share the name of the app and account ID so that I can take a closer look?&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![Kent\_Sutherland](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@Kent\_Sutherland](https://devforum.zoom.us/u/Kent_Sutherland)\
**Post date:** [September 11, 2018, 5:58pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/5 "2018-09-11T17:58:41Z")

</div>

The development client ID is&nbsp;29d1adQ0ST2XIkRzloQjQ under this account (on the App Marketplace). I don’t see anywhere listed on the app description whether it is a client or account level app, but I thought it was a client app.

To verify I created a new app as a client app (development client ID:&nbsp;Wc0vVR9QXK6m0ArxaCGlQ) and it’s returning the same error.

&nbsp;

Thanks!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 21, 2018, 6:02pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/6 "2018-09-21T18:02:56Z")

</div>

Hi Kent,&nbsp;

I was unable to reproduce an error on my end. Since your app is account level you should use the /me/ API with a meeting that is tied to your account. Earlier, you stated that you tried&nbsp;[https://api.zoom.us/v2/users/me/meetings/\<meetingID](https://api.zoom.us/v2/users/me/meetings/%3CmeetingID), what was the error that you received?

Thanks

---

<div class="post-metadata">

**Author:** ![Kent\_Sutherland](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@Kent\_Sutherland](https://devforum.zoom.us/u/Kent_Sutherland)\
**Post date:** [September 25, 2018, 8:19pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/7 "2018-09-25T20:19:02Z")

</div>

I receive the same error as using \<myUserID\> in the URL.&nbsp;I just tried the following request:

PATCH -&nbsp;[https://api.zoom.us/v2/users/me/meetings/970962087](https://api.zoom.us/v2/users/me/meetings/970962087)

{“timezone”:“America/Chicago”,“topic”:“Test123”,“start\_time”:“2018-09-26T10:00:00”,“duration”:60}

&nbsp;

This was the result:

{“code”:124,“message”:“Invalid access token, does not contain scopes: [user:write:admin, user:write]”}

&nbsp;

Thanks!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 25, 2018, 9:48pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/8 "2018-09-25T21:48:08Z")

</div>

Hi Keith,&nbsp;

Can you try choosing the **user:write** scope within your app in marketplace?&nbsp;

---

<div class="post-metadata">

**Author:** ![Kent\_Sutherland](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@Kent\_Sutherland](https://devforum.zoom.us/u/Kent_Sutherland)\
**Post date:** [September 25, 2018, 10:12pm UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/9 "2018-09-25T22:12:35Z")

</div>

I added the user:write scope and reauthenticated, but now I receive a 403 error.

DELETE or PATCH:&nbsp;[https://api.zoom.us/v2/users/me/meetings/300899503](https://api.zoom.us/v2/users/me/meetings/300899503)

x-zm-trackingid: WEB\_128657a3ebf04022b29ef0a3d9adecda

The content of the response&nbsp;is a web page that says 403 Forbidden in the content.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 26, 2018, 1:42am UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/10 "2018-09-26T01:42:00Z")

</div>

Hi Kent,&nbsp;

Please use&nbsp; **/v2/meetings/{meetingid}** instead as we dont have&nbsp;v2/users/me/meetings/{meeting-id}.

Thanks

---

<div class="post-metadata">

**Author:** ![Kent\_Sutherland](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@Kent\_Sutherland](https://devforum.zoom.us/u/Kent_Sutherland)\
**Post date:** [September 26, 2018, 2:04am UTC](https://devforum.zoom.us/t/unable-to-delete-meetings-with-meeting-write-scope/1687/11 "2018-09-26T02:04:23Z")

</div>

That was it,&nbsp;thank you for pointing out my stupid mistake! Now that I see it it’s obvious 🙂
