# Response "\< HTTP/2 200" when trying to delete a user

**URL:** <https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004>\
**Category:** Users and Groups\
**Created:** [August 27, 2022, 9:46pm UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004 "2022-08-27T21:46:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![itadmin2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itadmin2/32/40865_2.png) [@itadmin2](https://devforum.zoom.us/u/itadmin2)\
**Post date:** [August 27, 2022, 9:46pm UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004/1 "2022-08-27T21:46:16Z")

</div>

Hi,

I am able to add a user using the Zoom API and now I’m trying to use the API to delete a user.

Here is what I am trying:

curl -v -X POST -H “Content-Type: application/json” -H “Authorization: Bearer ” “[https://api.zoom.us/v2/DELETE/users/](https://api.zoom.us/v2/DELETE/users/)”

But I get the following response code:

\< HTTP/2 200

Please let me know what I need to correct in my API call.

Thank you!

Joe

---

<div class="post-metadata">

**Author:** ![itadmin2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itadmin2/32/40865_2.png) [@itadmin2](https://devforum.zoom.us/u/itadmin2)\
**Post date:** [August 28, 2022, 5:46pm UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004/2 "2022-08-28T17:46:36Z")

</div>

Hi,

As I re-read my post, I realized that some information was inadvertently left out. I am re-posting the command I am using:

curl -v -X POST -H “Content-Type: application/json” -H “Authorization: Bearer " “[https://api.zoom.us/v2/DELETE/users/](https://api.zoom.us/v2/DELETE/users/)”

Thanks for any insight!

Joe

---

<div class="post-metadata">

**Author:** ![itadmin2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itadmin2/32/40865_2.png) [@itadmin2](https://devforum.zoom.us/u/itadmin2)\
**Post date:** [August 28, 2022, 5:55pm UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004/3 "2022-08-28T17:55:02Z")

</div>

Gah! Did it again. I guess I can’t use the less-than and greater-than symbols in my example command.

Once again:

curl -v -X POST -H “Content-Type: application/json” -H “Authorization: Bearer my\_api\_token” “[https://api.zoom.us/v2/DELETE/users/email\_address\_of\_user\_to\_be\_deleted](https://api.zoom.us/v2/DELETE/users/email_address_of_user_to_be_deleted)”

where “my\_api\_token” is acquired by a previous, authentication call.

This call responds with HTTP/2 200. I’m just trying to delete a user.

Thank you,  
Joe

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 29, 2022, 6:57pm UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004/4 "2022-08-29T18:57:38Z")

</div>

Hi @itadmin2  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
It looks like you are calling the POST method in your curl request, make sure to pass the DELETE action

Hope this helps,  
Elisa

---

<div class="post-metadata">

**Author:** ![itadmin2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/itadmin2/32/40865_2.png) [@itadmin2](https://devforum.zoom.us/u/itadmin2)\
**Post date:** [August 30, 2022, 12:57pm UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004/5 "2022-08-30T12:57:56Z")

</div>

Hi Elisa,

Thanks very much for your response!

Unfortunately, after changing the action from POST to DELETE, I’m still getting the HTTP/2 200 response.

So, here is what I tried:

curl -v -X DELETE -H “Content-Type: application/json” -H “Authorization: Bearer really-long-API-token” “[https://api.zoom.us/v2/DELETE/users/email-address-of-user-to-delete](https://api.zoom.us/v2/DELETE/users/email-address-of-user-to-delete)”

I would love to hear any other ideas you have. Please let me know of any other information you need from me.

Thank you!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 31, 2022, 1:29am UTC](https://devforum.zoom.us/t/response-http-2-200-when-trying-to-delete-a-user/75004/6 "2022-08-31T01:29:46Z")

</div>

So can you confirm that you are not deleting the user? @itadmin2  
You are getting a 200 when deleting, after deleting can you try and query that same user to make sure that it got deleted?
