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

## Changes

- **2026-09-16** `3e6ddf2a99ea` — 1 info
  - added the optional property `details/budgetScope` to the response with the `400` status
- **2026-09-15** `0dba7d004d75` — 2 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaScope` to the response with the `400` status
- **2026-08-24** `1307bc21beec` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/phone-numbers/:id/sip-trunk/delete.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/fdaf9a9fb1a7?raw)
