---
title: "Detach Number From Agent"
method: DELETE
path: "/v1/agents/{agent_id}/numbers/{number_id}"
tags: ["agents"]
---

# Detach Number From Agent

`DELETE /v1/agents/{agent_id}/numbers/{number_id}`

Detach a phone number from an agent (sets agentId to null).

The number remains active and can be re-attached to any agent.

## Path parameters

- `agent_id` string, required
- `number_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agentphone/apis/agentphone-api.md) · [All operations](https://skmtc.net/agentphone/apis/agentphone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentphone/agentphone-api/versions/5724ccaa33d8/schema)
