Configure a phone number
update_phone_numberChange one owned number's routing and tags: link it to an app or SIP trunk, unlink either, or replace tags. Requires explicit confirmation.
Instructions
Change one owned number's configuration: replace its tags, link it to an application (inbound calls run that app's answer_url) or to a SIP trunk, or unlink them. A number can be linked to an application OR a trunk, not both. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| confirm | Yes | Must be true, set only after the user explicitly approved: changing this number's routing. | |
| trunk_id | No | Trunk to route this number to (sent as trunk_group_id). | |
| phone_number | Yes | ||
| unlink_trunk | No | ||
| application_id | No | ||
| unlink_application | No |