unable to update OpenVPN Client instance with /api/v1/services/openvpn/client PUT request #429
Closed
Fossil8765
started this conversation in
General
Replies: 1 comment
-
|
my bad last comma should be removed, after value of 'description' :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to make a change on one of my VPN client connections. I want to change server_addr and description keys only
I am not able to do that as I am getting the following
"message": "Missing OpenVPN Server/Client 'vpnid'. This parameter is needed to identify the server to modify/delete.",
As you can see below I am providing the vpnid in the query but it's saying it is missing. Any idea what I am doing wrong?
curl -X 'PUT'
'https://10.48.71.1:4434/api/v1/services/openvpn/client?vpnid=3'
-H 'accept: application/json'
-H 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXX='
-H 'Content-Type: application/json'
-d '{
"vpnid": "3",
"server_addr": "vpn.address.com",
"description": "My VPN",
}'
Beta Was this translation helpful? Give feedback.
All reactions