Delete voice application
delete_applicationPermanently deletes a Vobiz voice application and stops inbound call handling. Unlink linked phone numbers first to avoid conflicts; attached SIP endpoints remain and need a new application.
Instructions
Permanently delete a Vobiz voice application; this cannot be undone. Inbound calls on numbers still linked to it stop being handled, and Vobiz may refuse the delete (HTTP 409) while numbers are linked, so unlink them first with update_phone_number (unlink_application). SIP endpoints attached to it are kept, not deleted (cascade is off), and need a new application via update_sip_endpoint. To stop using an application without deleting it, re-point its numbers instead. An unknown app_id raises not_found. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | Numeric Vobiz application ID (5-25 digits): the app_id returned by list_applications or create_application. | |
| confirm | Yes | Must be true, set only after the user explicitly approved: deleting this application. 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success. On a failure the result is isError with ok: false plus `error` (kind), `message`, `retryable` and sometimes `http_status`. | |
| app_id | No | The application that was deleted. | |
| deleted | No | True when the record was deleted by this call. | |
| http_status | No | HTTP status Vobiz answered with. |