Skip to main content
The First Step
November 20, 2023
Question

API to unassign phone number from an extension?

  • November 20, 2023
  • 1 reply
  • 165 views

Is there an API to unassign phone numbers/ move phone numbers to inventory?


I tried this POST command to remove a phone number from an extension: https://developers.ringcentral.com/api-reference/Phone-Numbers/addNumbersToInventoryV2 but it gave a forbidden warning saying I'm out of licenses.


1700510805201.png


Is this the wrong command and is there a right one?

    1 reply

    PhongVu
    Community Manager
    Community Manager
    November 22, 2023

    That API is not for adding assigned phone numbers to the account number inventory

    "Adds phone numbers to the account Inventory as unassigned. Currently we support the following three enum values: 'Inventory', 'InventoryPartnerBusinessMobileNumber' and 'PartnerBusinessMobileNumber'. Later we may support some other values like 'ForwardedNumber', etc."

    So right now, it's not possible to add an assigned phone number back to the inventory.