Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Phone Site Change

    Posted 06-05-2025 18:13

    dkprado | 2017-12-14 11:54:10 UTC | #1

    Hi,

    I'm looking for a method for changing user phone's base Site attribute. Is there any alternative way of doing this, other than PUTting the whole user phone data? PUT /api/v2/telephony/providers/edges/phones/


    dkprado | 2017-12-14 15:07:08 UTC | #2

    Ok, quick update: I made it through PUT method. However, it requires a lot of attributes to be attached. Is it guaranteed that no other attribute will be touched with this update? Is there any better solution for this?


    tim.smith | 2017-12-14 18:17:33 UTC | #3

    A PUT operation replaces the existing configuration with the provided configuration. The appropriate process is to first do a GET on the config, make your changes to the data, then send the full object back.


    dkprado | 2017-12-14 18:26:50 UTC | #4

    Yes, I expected that. I just wanted to make sure that this was the only way to change one phone's site, such as an API entry point for that directly. But I will get everything, whole data, change the site ID and re-submit it. Thank you Tim!


    system | 2018-01-14 18:37:59 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 2238