Phone Number Stuck After Account Deletion
# support
e
I recently deleted my previous Vapi organization having only my account and created a new one with that same account email. I am now trying to import my existing phone number, but I am receiving the following error: "Phone number already in use by another org"
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
Hi Exortix 🇵🇸, To delete a phone number from your Vapi account, you can use the DELETE endpoint of the Vapi API. Here are the steps: 1. **Endpoint**:
DELETE 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:
Copy code
python
from vapi import Vapi

client = Vapi(token="YOUR_TOKEN")
client.phone_numbers.delete(id="your-phone-number-id")
And for JavaScript (TypeScript):
Copy code
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).
3 Views