Using this template helps us debug your issues more effectively
Description
I am using the API to test creating/deleting Users. The accounts are created successfully but they are not being removed correctly. I corresponded with Max about this a few months ago, and he spoke to engineering and they said to make sure that I use the “delete” for the action and not “disassociate.” I have using “delete” but I am still having the same issue.
Error
The full error message or issue you are running into.
Please see the screenshots below.
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.
Authentication: This is an enterprise account so I am use JWT authentication.
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:
Please see screenshots below for detailed information.
I create the account. This is an enterprise account so I am using “ssoCreate” and “2” for type. The account is created successfully and I can search for it in our user list.
I test deleting the account. No errors returned and it no longer displays in our user list.
Recreate the account using the same email. The message returned is: “The user xxx belong to another account.”
Try to delete the account again but the message returned is “User does not exist.”
The following accounts are now stuck in Zoom limbo somewhere as I cannot recreate nor delete them:
Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.
This is the message I get when trying to create one of the accounts I deleted:
This is the message I get when trying to delete the same account:
Additional context
Add any other context about the problem here.
Can you please ensure you’re passing the parameter action=delete in the request URL? This endpoint doesn’t support passing this in the headers or body, which could be causing an issue with deleting the user.
This is still not working. Please keep in mind that this is an enterprise account, and so I am using the ssoCreate method in the body when the account is created. The account is created okay, but I cannot delete it properly. I’m using Powershell. I’ve tried doing this using the Invoke-RestMethod as well as the Invoke-WebRequest.
Can I trouble you with a question? For the setting highlighted below, is it possible to include this in the Create User POST? I am passing in “2” as the type but is it possible to include these additional settings? I didn’t see it in the API but will continue looking.