Create User OpenVPN
Create a new OpenVPN user
post
Body
actitivity_namestringOptional
descriptionstringOptional
expired_datestringOptional
ip_publicstringOptional
local_networkstringOptional
namestring · max: 30Required
organization_idstringRequired
passwordstringOptional
project_idstringRequired
project_namestringOptional
subnet_networkstringOptional
user_idstringOptional
usernamestringOptional
Responses
200
OK
application/json
codeintegerOptional
messagestringOptional
returnintegerOptional
statusstringOptional
400
Bad Request
application/json
post/core/vpn/v1/openvpn/user/create
POST /core/vpn/v1/openvpn/user/create HTTP/1.1
Host: ai.cloudeka.id/
Content-Type: application/json
Accept: */*
Content-Length: 269
{
"actitivity_name": "text",
"description": "text",
"expired_date": "text",
"ip_public": "text",
"local_network": "text",
"name": "text",
"organization_id": "text",
"password": "text",
"project_id": "text",
"project_name": "text",
"subnet_network": "text",
"user_id": "text",
"username": "text"
}{
"code": 1,
"data": {
"cert": [
"text"
],
"descr": "text",
"expires": "text",
"name": "text",
"scope": "text",
"sha512-hash": "text",
"uid": "text"
},
"message": "text",
"return": 1,
"status": "text"
}Last updated