Skip to main content
DELETE
Delete a trunk
Permanently deletes a trunk and all its associated resources, including credentials, IP ACL entries, and origination URIs. This action cannot be undone.
Authentication required:
  • X-Auth-ID - Your account Auth ID
  • X-Auth-Token - Your account Auth Token
  • Content-Type: application/json
Warning: Deleting a trunk will:
  • Permanently delete all credentials associated with this trunk
  • Remove all IP ACL entries
  • Delete all origination URIs
  • Immediately stop all active calls on this trunk
  • Make the trunk’s SIP domain unavailable for inbound calls
Alternative: Consider disabling the trunk instead (set enabled: false) to preserve its configuration while preventing new calls.

Request

cURL

Response

Returns 204 No Content on successful deletion. No response body is returned.
Response - 204 No Content
Error Responses:
  • 404 Not Found: Trunk does not exist or does not belong to your account
  • 409 Conflict: Trunk has active calls (wait for calls to end first)
Before Deleting:
  • Verify no active calls are using this trunk
  • Document any credentials or routing configurations
  • Check if phone numbers are associated with this trunk
  • Consider exporting trunk configuration for backup
  • Notify users who may be affected by the deletion

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID

X-Auth-Token
string
header
required

Your Vobiz account Auth Token

Path Parameters

auth_id
string
required

Your account Auth ID

Example:

"MA_XXXXXX"

trunk_id
string
required

Response

Success

The response is of type string.