Martin ツ
05/23/2024, 3:07 PMVapi Support
05/23/2024, 3:07 PMVapi Support
05/23/2024, 3:08 PMserverUrl to an empty string or null. This should be done through the API by sending a PATCH request to the assistant's endpoint.
Here’s how you can do this programmatically using a cURL command:
bash
curl --request PATCH \
--url https://api.vapi.ai/assistants/{assistantId} \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"serverUrl": ""}'
Make sure to replace {assistantId} with your actual assistant’s ID and YOUR_TOKEN with your authentication token. After updating, ensure that you publish the changes for them to take effect.
If the Server URL keeps reappearing after you have removed it and published the changes, this might indicate a caching issue or a problem with how the updates are handled on the server side. In such cases, verifying the complete removal via the API directly or through logs might help diagnose the issue further. [(1)]()Martin ツ
05/23/2024, 3:09 PMSahil
05/23/2024, 3:21 PMVapi Support
05/23/2024, 5:31 PM