is there a way to delete a server url attached to ...
# support
h
when trying to update the phone number using a patch method and the following payload, here is what i get : { "serverUrl": "" } { "message": [ "serverUrl must be a valid URL. Hot tip, the protocol should be https://, but found " ], "error": "Bad Request", "statusCode": 400 }
a
Heyhugopdvn Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
@hugopdvn It looks like you're encountering a validation error because the
serverUrl
field in your PATCH request payload is empty. To update the phone number successfully, you need to provide a valid URL in the
serverUrl
field. The URL should start with
https://
to meet the API's requirements. Here's an example of how you can structure your payload with a valid `serverUrl`:
Copy code
json
{
  "serverUrl": "https://yourserverurl.com/path"
}
Make sure to replace
https://yourserverurl.com/path
with the actual URL you intend to use for the
serverUrl
. Once you have the correct URL, you can try the PATCH request again. If you need assistance with forming the correct cURL command or have any other questions, feel free to ask!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
h
I need to delete it, not to update it
so my phone number is using my account-wide url
s
@hugopdvn set the server to null and then it will be removed.
@hugopdvn Because of no response closing this ticket.
h
ok i'll try that, was on holiday 😉
thank you for your answer
4 Views