Skip to main content

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. screenshot-2023-06-28-at-144725.png

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