Hi there! 👋
I understand you're having trouble deleting phone numbers from your account. While I don't have information about a specific confirmed bug with phone numbers reappearing immediately after deletion, I can definitely help troubleshoot this issue.
Based on the information I've found, there are several potential causes and solutions:
### Possible Causes
1. **Soft Delete vs Hard Delete**: Your phone numbers might be undergoing a "soft delete" rather than a "hard delete." This means they're marked as deleted in the system but still exist in the database, causing them to reappear in the UI. According to [similar issues with deleting call logs](
https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337314227857391627), a hard delete might only be possible from the backend.
2. **Twilio Integration**: If your phone numbers were provisioned through Twilio, they should be released through the Twilio API first. According to [support documentation](
https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335389709035110430), "Since VAPI provisions the phone number for you via Twilio, releasing the number through Twilio's API is the correct approach. There is no separate action required in VAPI to release the number if it's being managed through Twilio."
### Troubleshooting Steps
For the API:
1. Ensure you're using the correct endpoint:
https://api.vapi.ai/phone-number/:id
with the DELETE method
2. Verify your authorization header is correct:
Authorization: Bearer <token>
3. Double-check that you're using the correct phone number ID in the request
For the UI:
1. Check your Twilio configuration and Vapi integration to ensure proper webhook settings
2. Verify you haven't reached the maximum number of free phone numbers (which can cause errors)
3. Try clearing your browser cache or using a different browser