Skip to main content
DELETE
/
user
/
phone-numbers
/
{id}
Delete SIP trunk
curl --request DELETE \
  --url https://app.autocalls.ai/api/user/phone-numbers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Phone number deleted successfully."
}
Deletes a SIP trunk and removes the associated inbound and outbound trunks from the voice infrastructure. This uses the same endpoint as releasing any phone number. For SIP trunks, the deletion is immediate (no billing period).
See Release phone number for the full endpoint documentation. SIP trunks are immediately deleted and return "Phone number deleted successfully.".

Path Parameters

id
integer
required
The unique identifier of the SIP trunk to delete

Response

{
  "message": "Phone number deleted successfully."
}

What happens on deletion

When you delete a SIP trunk:
  • Inbound and outbound trunks are removed from the voice infrastructure
  • Any assistants using this SIP trunk will have their phone number unassigned
  • Any campaigns using this number will have it removed from rotation
  • Call history is preserved and remains accessible