# Not allow to delete PMI

**URL:** <https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251>\
**Category:** API and Webhooks\
**Created:** [December 9, 2021, 10:57am UTC](https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251 "2021-12-09T10:57:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor.koa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/victor.koa/32/16927_2.png) [@victor.koa](https://devforum.zoom.us/u/victor.koa)\
**Post date:** [December 9, 2021, 10:57am UTC](https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251/1 "2021-12-09T10:57:50Z")

</div>

Receiving error `{ code: 3018, message: 'Not allow to delete PMI.' }` when trying to delete meetings for some users. DELETE `https://api.zoom.us/v2/meetings/{meetingId}`. Can’t find any more information about this error.

---

<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:** [December 9, 2021, 8:57pm UTC](https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251/2 "2021-12-09T20:57:12Z")

</div>

Hi @victor.koa

Thank you for reaching out to the Zoom. Developer Forum, I am happy to help here!

It looks like you are trying to delete your PMI, which you wont be able to do. So the error you are receiving is expected.

If you want to delete meetings please use the meeting ID instead of the PMI  
Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![victor.koa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/victor.koa/32/16927_2.png) [@victor.koa](https://devforum.zoom.us/u/victor.koa)\
**Post date:** [December 10, 2021, 11:24am UTC](https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251/3 "2021-12-10T11:24:52Z")

</div>

Ok, this was because I was using the id in the join\_url string, but for some users this id is their PMI instead of the meetingId.

---

<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:** [December 10, 2021, 8:19pm UTC](https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251/4 "2021-12-10T20:19:41Z")

</div>

Hi @victor.koa  
Happy to know that this is resolved now!  
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:** [January 10, 2022, 6:20am UTC](https://devforum.zoom.us/t/not-allow-to-delete-pmi/61251/5 "2022-01-10T06:20:25Z")

</div>

Closed on January 10, 2022, 6:20am UTC

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