---
title: "Detach a number from its SIP trunk"
method: DELETE
path: "/v1/phone-numbers/{id}/sip-trunk"
tags: ["Voice"]
---

# Detach a number from its SIP trunk

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

Returns the number's calls to Zernio routing. Idempotent when the
number is not attached to any trunk.

## Path parameters

- `id` string, required

## Response `200`

Number detached.

- object
  - `attached` boolean — Always false after a successful detach.
  - `phoneNumber` string

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Number not found

---

[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)
