How do I remove the Server URL in Messaging? It ke...
# support
m
Hi, so I had a Server URL but due to issues with the workflow in Make and since I want to use this assistant as a Demo, I decided to remove the URL, click publish but it keeps coming back thanks
v
Hi @Martin ツ, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Delete Assistant]() * [Server URLs]() * [Delete Phone Number]() * [Server Events]() -----------------------------
### Answer To remove the Server URL from your assistant settings in Vapi, you should be able to update the assistant's configuration by setting the
serverUrl
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:
Copy code
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)]()
m
can't I just remove in the Server URL field?
s
Can you send me the payload in dm?
v
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
2 Views