---
title: "Delete a SIP trunk"
method: DELETE
path: "/v1/phone-numbers/sip-trunks/{id}"
tags: ["Voice"]
---

# Delete a SIP trunk

`DELETE /v1/phone-numbers/sip-trunks/{id}`

Tears down the trunk and its carrier-side objects. Refused while any
number is still attached: detach them first.

## Path parameters

- `id` string, required

## Response `200`

Trunk deleted.

- object
  - `deleted` boolean

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — SIP trunk not found
- `409` — Numbers are still attached to this trunk (code invalid_resource_state).

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/1307bc21beec/schema)
