Vapi Support Bot
03/27/2025, 11:35 PMhttps://api.vapi.ai/assistant/:id
with your assistant's ID [API Reference](https://docs.vapi.ai/api-reference/assistants/delete)
2. Release the phone number through Twilio's API if it was obtained through Twilio [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335389709035110430)
## Set Assistant ID to Null
You can try explicitly disconnecting the assistant by setting the assistant ID to null:
curl --location --request PATCH 'https://api.vapi.ai/phone-number/your_phone_id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer your-vapi-private-api-key' \
--data '{
"assistantId": null,
"serverUrl": "https://your_server_url"
}'
[Telnyx Documentation](https://docs.vapi.ai/advanced/sip/telnyx)
## Check Assistant ID Configuration
Ensure the assistant ID is correctly set or removed from the phone number configuration. Review any debugging artifacts sent to your server for more detailed information [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336652401733668864)
## Remove Default Assistant Assignments
Go to Phone Numbers in the Vapi dashboard and remove any default assistant assignments that might be causing the issue [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341224148667600976)
## Additional Troubleshooting
If the issue persists:Vapi Support Bot
03/27/2025, 11:35 PMassistant
property from the payload and only using assistantId
as the assistant
property takes precedence [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336765707760963676)
Is there anything specific about these steps you'd like me to clarify further?
Sources:
- [API Reference for Assistants Delete](https://docs.vapi.ai/api-reference/assistants/delete)
- [Discord Thread on Disconnection Procedure](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335389709035110430)
- [Telnyx Documentation](https://docs.vapi.ai/advanced/sip/telnyx)
- [Discord Thread on Assistant ID Configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336652401733668864)
- [Discord Thread on Default Assistant Assignments](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341224148667600976)
- [Discord Thread on Assistant Property Precedence](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336765707760963676)Kyle Brunker
03/30/2025, 7:31 AM