---
title: "Delete telephone number from the specified partition's inventory"
method: DELETE
path: "/v2/partition/{partitionId}/telephonenumber/{tn}"
tags: ["Telephone Number"]
---

# Delete telephone number from the specified partition's inventory

`DELETE /v2/partition/{partitionId}/telephonenumber/{tn}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/telephonenumber/{tn}`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/telephonenumber/:tn/delete.ts> (a function with typed inputs; its response is checked against the schema)

Use to delete a telephone number from inventory.  <span hidden>Refer to <a href="tnInventory.html#delete-from-inventory">Deleting a Telephone Number from Inventory</a> for more information.</span>

## Path parameters

- `partitionId` string, required
- `tn` string, required

## Response `204`

Telephone number deleted successfully

## Other responses

- `400`: Telephone number exists on an account
- `401`: Unauthorized
- `404`: PartitionId or Telephone Number not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
