---
title: "Delete Number"
method: POST
path: "/phone-numbers/delete-number"
---

# Delete Number

`POST /phone-numbers/delete-number`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/phone-numbers/delete-number`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `x-internal-api-key` string, nullable

## Request body

- DeleteNumberRequest
  - `agentId` string, required
  - `isSecondary` boolean
  - `endpoint` string
  - `deleteAll` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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