Does anyone know if there's an API which allows you to delete Unassigned extensions that do not have numbers assigned to them? They are called Ext. with No Device Assigned (so can be deleted without incurring billing). I have approx 15,000 unassigned extensions that need to be deleted manually at present to tidy up the account - very time consuming.
Page 1 / 1
You can try this.
- Call this API to list all unassigned extensions (set the status = "Unassigned").
- Use the extension id of each unassigned extension listed above and call this API to detect if the extension has no device = put that extension id on a list
- Call this API to delete those unassigned extensions.
I have not tested the solution but it should work. You have to handle the API rate limit to handle that massive amount of API calls though.
Thanks Phong Vu, will give this a try
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.