Remove default phone using CxAsCode or CLI

Hi Community,

I want to remove the default phone assignment for all users. Reason for this is that there are users in callable groups that get targeted even if they are offline (because they have a default phones assigned).

I have copied an entire org using CxAsCode but in the original org there was no default phone assigned. In the new, copied ORG, they all have default phones assigned.

I need this removed, but I cannot find the reference anywhere in the API? Anyone can point me in the right direction on how to achieve this? I don't want to manually adapt 350 users...

many thanks,

Tommy

Nevermind, I can potentially do it using:

DELETE /api/v2/users/{userId}/station/defaultstation

Don't know how I overlooked this. Must be monday :wink:

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