# User Delete return parameters in webhook payload

**URL:** <https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475>\
**Category:** API and Webhooks\
**Created:** [August 6, 2020, 6:52pm UTC](https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475 "2020-08-06T18:52:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkumar05](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mkumar05/32/11183_2.png) [@mkumar05](https://devforum.zoom.us/u/mkumar05)\
**Post date:** [August 6, 2020, 6:52pm UTC](https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475/1 "2020-08-06T18:52:18Z")

</div>

I was triggering the delete user command and completely deleting the user (not just disassociating the user), and the webhook event alert returns a type in the payload. **What does “type” represent, as it is not documented?**

> **[Delete User - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userdelete)**
>
> Deleting a user permanently removes them and their data from Zoom. They will be able to create a new Zoom account with the same email address if they ha...

{  
“event”:“user.deleted”,  
“payload”:  
{“account\_id”:"–",  
“operator”:"----",  
“operator\_id”:"----",  
“object”:{  
“id”:"-----",  
“first\_name”:"—",  
“last\_name”:"—",  
“email”:"----",  
“type”:1  
}  
}  
}

---

<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:** [August 9, 2020, 10:50pm UTC](https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475/2 "2020-08-09T22:50:39Z")

</div>

Hey @mkumar05,

You can see the `type` values here in the docs:

> **[User Deleted - User Events - Webhook Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/webhook-reference/user-events/user-deleted)**
>
> User Deleted
> 
> 
> 
> Admins and account owners can delete users in a Zoom account. Deleting users permanently removes them and their data from the Zoom syste...

 ![Screen Shot 2020-08-09 at 4.50.02 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3ab2e71d9af8c4c3b4007082c9b894e4f1762665.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mkumar05](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mkumar05/32/11183_2.png) [@mkumar05](https://devforum.zoom.us/u/mkumar05)\
**Post date:** [August 10, 2020, 2:23am UTC](https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475/3 "2020-08-10T02:23:18Z")

</div>

Thanks, I kept on looking at the delete request for the webhook event docs, not the webhook event api itself in the docs, thanks for helping me catching my mistake

---

<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:** [August 10, 2020, 7:26am UTC](https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475/4 "2020-08-10T07:26:04Z")

</div>

Hey @mkumar05,

You are welcome! 🙂

Let me know if you have any other questions!

Thanks,  
Tommy

---

<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:** [August 20, 2020, 7:26am UTC](https://devforum.zoom.us/t/user-delete-return-parameters-in-webhook-payload/26475/5 "2020-08-20T07:26:05Z")

</div>

Closed on August 20, 2020, 7:26am UTC

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