Exortix 🇵🇸
11/02/2025, 8:20 AMChiranjeet Mishra
11/02/2025, 8:20 AMChiranjeet Mishra
11/03/2025, 8:41 PMDELETE https://api.vapi.ai/phone-number/{id}
2. **Required Parameters**:
- `id`: The ID of the phone number you want to delete.
- `Authorization`: Your API Key from the Vapi Dashboard.
Here's a sample request using Python SDK:
python
from vapi import Vapi
client = Vapi(token="YOUR_TOKEN")
client.phone_numbers.delete(id="your-phone-number-id")
And for JavaScript (TypeScript):
typescript
import { VapiClient } from "@vapi/server-sdk";
const client = new VapiClient({ token: "YOUR_TOKEN" });
await client.phoneNumbers.delete("your-phone-number-id");
For more details, you can check the [Delete Phone Number documentation](https://docs.vapi.ai/api-reference/phone-numbers/delete).