'Update a user's shared access setting ' api endpoint not updating hot desking or call control flag after returning 204 or with no errors

API Endpoint(s) and/or Zoom API Event(s)

Update a user’s shared access setting

patch /phone/users/{userId}/settings/{settingType}

Description
Details on your question, workflow or the problem you’re trying to solve.

Error?
The hot desking or call control flags are not being updated even after the API return a 204 code.

How To Reproduce
Steps to reproduce the behavior:
1. /phone/users/{userId}/settings/{settingType}
In the body, i passed these:
“desk_phone”: {
“devices”: [
{
“id”: deviceId,
“policy”: {
“call_control”: {
“status”: “off”
},
“hot_desking”: {
“status”: “off”
}
}
}
],
“phone_screen_lock”: true,
“pin_code”: code
},
2. OAuth
3. No errors

Hi @Nischal
Thanks for reaching out to us
Could you please share the entire request URL you are passing as well as the tracking ID found in the response headers of your request so I can look further into this

Hi @elisa.zoom
Thank you for getting back to me. The entire request URL is below: (had to put some spaces in the link as it did not allow me to put a link in the chat)

https: // api. zoom. us/v2/phone/users/90Jn9tasQeSDDYKzPMZI0A/settings/desk_phone

Where do i see the tracking ID? I do not see any response header. I only see 204 No Content after hitting the endpoint.

Hi @Nischal
you should be able to see the tracking ID in the response headers

Hi @elisa.zoom Please note the tracking ID
x-zm-trackingid: WEB_161344cf9de93e6b3087f34a60fbd9d4

@elisa.zoom Please let me know if you need any other information. Thank you

1 Like

Thanks for sharing that with me
I reported this issue to our Engineering team and will update you as soon as I have more information (ZSEE-178042 internal ticket number for reference)

Thank you! @elisa.zoom Looking forward to an update

HI @Nischal
Thanks for your patience here.
I have an update from our Engineering team and they susggested if you could try passing this request body:

{ "desk_phone": { "devices": [ { "id": deviceId, "policy": { "call_control": { "status": "on" }, "hot_desking": { "status": "on" } } } ], "phone_screen_lock": true, "pin_code": code} }

They noticed the request boddy was missing the desk_phone at the beggining.
Can you try with this sample I shared and update me?

Thank you for getting back to me. Good catch. That worked

1 Like