User Delete return parameters in webhook payload

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?

{
“event”:“user.deleted”,
“payload”:
{“account_id”:"–",
“operator”:"----",
“operator_id”:"----",
“object”:{
“id”:"-----",
“first_name”:"—",
“last_name”:"—",
“email”:"----",
“type”:1
}
}
}

Hey @mkumar05,

You can see the type values here in the docs:

Thanks,
Tommy

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

1 Like

Hey @mkumar05,

You are welcome! :slight_smile:

Let me know if you have any other questions!

Thanks,
Tommy

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