# How to retrieve and delete a user created with custUser?

**URL:** <https://devforum.zoom.us/t/how-to-retrieve-and-delete-a-user-created-with-custuser/47628>\
**Category:** API and Webhooks\
**Created:** [April 9, 2021, 12:25pm UTC](https://devforum.zoom.us/t/how-to-retrieve-and-delete-a-user-created-with-custuser/47628 "2021-04-09T12:25:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dialecticadevteam](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@dialecticadevteam](https://devforum.zoom.us/u/dialecticadevteam)\
**Post date:** [April 9, 2021, 12:25pm UTC](https://devforum.zoom.us/t/how-to-retrieve-and-delete-a-user-created-with-custuser/47628/1 "2021-04-09T12:25:05Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I have created a user with **custUser** for testing reasons and I accidentally deleted the ID of that user. Is it possible to retrieve the created user without having the ID?

Also, is it possible to delete a user created with **custUser**? I tried to delete the user via the Zoom API, but I got an error:

**Error**  
{“code”=\>1107, “message”=\>“You can not disassociate a user with managed domain.”}

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

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

Any help?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [April 9, 2021, 8:10pm UTC](https://devforum.zoom.us/t/how-to-retrieve-and-delete-a-user-created-with-custuser/47628/2 "2021-04-09T20:10:58Z")

</div>

Hey @dialecticadevteam,

Thank you for reaching out to the Zoom Developer Forum. If you still have the email used by the `custCreate` user, you can use the email with the [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user). Let me know if that works for you.

> [@dialecticadevteam](#):
>
> Also, is it possible to delete a user created with **custUser**? I tried to delete the user via the Zoom API, but I got an error:
> 
> **Error**  
> {“code”=\>1107, “message”=\>“You can not disassociate a user with managed domain.”}

Please see the following historical forum post and let me know if this resolves your issue:

> [@Can not disassociate the user with managed domain](https://devforum.zoom.us/t/can-not-disassociate-the-user-with-managed-domain/3740/6):
>
> I am glad you figured this out! Apologies for not seeing this right away. Our system looks for threads with only one post, but since you replied to your own post, our system did not pick this up for a reply. Our apologies and we will look for ways to improve this. As mentioned by @Jonathan_Champ if you do not include an action, we will default to “disassociate.” This can be seen on the right-hand side of the docs as seen below. If there are defaults for query params or other fields,…

Thanks,  
Max

---

<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:** [May 10, 2021, 6:11am UTC](https://devforum.zoom.us/t/how-to-retrieve-and-delete-a-user-created-with-custuser/47628/3 "2021-05-10T06:11:57Z")

</div>

Closed on May 10, 2021, 6:11am UTC

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