Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
API - OpenVPN - client_overwrites
« previous
next »
Print
Pages: [
1
]
Author
Topic: API - OpenVPN - client_overwrites (Read 296 times)
smema79
Newbie
Posts: 29
Karma: 0
API - OpenVPN - client_overwrites
«
on:
May 13, 2024, 10:15:27 am »
Sorry for the question but I couldn't find anything about it.
Have any of you ever tried to use Rest API to POST an OpenVPN client overwrite configuration?
I've been trying for quite some time without success, trying both api/openvpn/client_overwrites/add and api/openvpn/client_overwrites/test and passing it a JSON like this:
Code:
[Select]
{
"common_name": "test",
"enabled": "1",
"description": "Test User"
}
Ther Result is always: "failed"
Regards
Stefano
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
API - OpenVPN - client_overwrites