Return a number from a sub-account
unassign_number_from_subaccountReturn a phone number from a sub-account to the parent Vobiz account pool. Use this to reverse a sub-account number assignment after user approval.
Instructions
Move a number from a sub-account back to this Vobiz account's pool (DELETE /account/{id}/numbers/{e164}/assign-subaccount). It is the undo of assign_number_to_subaccount. A 15-day cool-off applies: a number with a call in the last 15 days stays with the sub-account and the tool fails with not_allowed until the cool-off ends. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true, set only after the user explicitly approved: returning this number to the parent account pool. If your client supports MCP elicitation, the server asks the user to approve directly and this flag is not relied on; otherwise it is your attestation that the user approved. | |
| phone_number | Yes | The number to take back, E.164; it must currently be assigned to one of this account's sub-accounts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | true on success; false (with error and message) when the tool failed. | |
| unassigned | No | true once the number is back in the main account's pool. | |
| http_status | No | HTTP status Vobiz answered with. | |
| phone_number | No | The number, E.164. |