How to delete a user using the API if user is not activated

Using this template helps us debug your issues more effectively :slight_smile:

Description

Error
API throws error if we are trying to delete existing unactivated user.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

Which Endpoint/s?
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. create user using the api call which described here https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate, using the following params:

data = {
“action”: “create”,
“user_info”: {
“email”: email,
“type”: 1,
“first_name”: name,
“last_name”: surname,
}
2. user created and has uniq id since domain of created user is verified. user appears in users tab not in pending.
3. delete user using the method described here https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userdelete

Screenshots (If applicable)

Additional context

Hi @c-test ,

Happy to help! Can you please share the full request/response payloads as well as the exact error you’re receiving?

Thanks!

Please kindly find request and response here Screen Shot 2021-10-07 at 10.39.06.png - Google Drive, Screen Shot 2021-10-07 at 10.42.15.png - Google Drive

Hey @c-test,

When deleting a user, please make sure that you are setting the action to “Delete”:

Let me know if that helps.

Thanks,
Max

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