***

title: delete
slug: /reference/typescript/rest/compat/phone-numbers/delete
description: Release a phone number.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Release a phone number from the account.

<EndpointSchemaSnippet endpoint="DELETE /Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}" />

## **Example**

```typescript {8}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com"
});
await client.compat.phoneNumbers.delete("PN...");
```