Update a User API Method

Description
When sending an HTTP Patch to update an existing user the empty string is accepted but does not change the value on the back end to an empty string.

Error
HTTP Response is 204 so it it appears the operation was successful just without confirmation.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
I am using Python Requests with JWT auth.

Which Endpoint/s?

How To Reproduce
Steps to reproduce the behavior:

  1. Set your requests payload to a field of your choice and the associated value to an empty string:
  • json_payload = {“dept”: “”}
  1. Create a requests patch method and set the payload to json:
  • r = re.patch(zoom_api_url + zoom_user_patch_url, headers = headers, json = json_payload)
  1. Send your request and then check if the existing value was changed to an empty string. This fails every time I’ve tried. Note that you’ll need to set the initial value to something other than an empty string first to reproduce this behavior.

Hi conor.oshea,

Thank you for submitting to our forum.
Our current design does not support blanking out dept fields, although will are preparing to support blanking out the fields except of first_name, last_name.
At the moment we do not have the exact timeline so please subscribe and follow our Changlog for further enhancement.
(ZOOM-187104)

Regards,
Yosuke

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