cURL
curl --request POST \ --url https://app.aegister.com/api/v1/vpn \ --header 'Content-Type: application/json' \ --header 'X-Aegister-Token: <api-key>' \ --data '{ "organization": 1, "email": "jdoe@sample.com" }'
{ "error": 0, "messages": [], "vpn": 123 }
Insert new VPN profile.
Unique identifier for the Organization.
1
2
3
Email address of the user to be assigned to the VPN profile.
"jdoe@sample.com"
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
0
If error is 1, contains zero or more details on the error.
error
[]
Created VPN profile unique id.