# Add/delete phone individual assistants/delegates

**URL:** <https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888>\
**Category:** Phone\
**Created:** [October 3, 2022, 11:40pm UTC](https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888 "2022-10-03T23:40:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnrf](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@dnrf](https://devforum.zoom.us/u/dnrf)\
**Post date:** [October 3, 2022, 11:40pm UTC](https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888/1 "2022-10-03T23:40:54Z")

</div>

The current phone api /phone/users/{userID}/settings/delegations lets you add individual delegation\_assistant\_extension\_id to a user, but it appears to be no way to remove an individual assistant. It appears that you can only remove all (via DELETE /phone/users/{userID}/settings/delegations), and then add back in the ones that you want to keep.

Is this a limitation of the API, or is there missing documentation on the UPDATE method for the same endpoint?

Thanks,  
David Nahman-Ramos  
Pixar Animation Studios

---

<div class="post-metadata">

**Author:** ![justin.steinberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/justin.steinberg/32/9988_2.png) [@justin.steinberg](https://devforum.zoom.us/u/justin.steinberg)\
**Post date:** [October 4, 2022, 12:23pm UTC](https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888/2 "2022-10-04T12:23:30Z")

</div>

Hi David,

To delete just one delegate, you can pass a query string param to the DELETE request with the extension\_id of the delegate to be deleted.

example:  
DELETE /phone/users/{mgr\_email}/settings/delegation?assistant\_extension\_id={asst\_extension\_id}

---

<div class="post-metadata">

**Author:** ![dnrf](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@dnrf](https://devforum.zoom.us/u/dnrf)\
**Post date:** [October 4, 2022, 10:55pm UTC](https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888/3 "2022-10-04T22:55:03Z")

</div>

Hi Justin,

Thanks for the reply. What I’m observing is if I have two assistants defined for one manager, and I pass the assistant\_extension\_id for one assistant to that delete method, both assistants get deleted. Is that something that you can replicate?

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![justin.steinberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/justin.steinberg/32/9988_2.png) [@justin.steinberg](https://devforum.zoom.us/u/justin.steinberg)\
**Post date:** [October 5, 2022, 12:54pm UTC](https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888/4 "2022-10-05T12:54:46Z")

</div>

No, when I test this it works as expected. Only the one assistant that was specified in the DELETE is removed. Any other existing assistants remain on the manager. Are you sure your code is passing the assistant’s extension id properly ?

---

<div class="post-metadata">

**Author:** ![dnrf](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@dnrf](https://devforum.zoom.us/u/dnrf)\
**Post date:** [October 5, 2022, 7:14pm UTC](https://devforum.zoom.us/t/add-delete-phone-individual-assistants-delegates/76888/5 "2022-10-05T19:14:44Z")

</div>

Hi Justin,

Thanks, found the problem – the assistant’s extension\_id was getting passed in the request body, not as the URL query string.

Thanks for the point in the right direction!  
Regards,  
David
