Skip to main content
DELETE
Delete an inbound SIP trunk

Authorizations

Authorization
string
header
required

Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.

Path Parameters

projectId
string
required

Project id

id
string
required

Inbound SIP trunk id

Query Parameters

delete_numbers
boolean
default:false

true also deletes every phone number bound to the trunk. Any other value, or none, keeps them as unassigned numbers.

Response

The trunk and its phone numbers were deleted (delete_numbers=true).

deleted_numbers
integer
required

How many phone numbers were deleted with the trunk.

Required range: x >= 0