POST
/
api
/
v1
/
vpn
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
}

Authorizations

X-Aegister-Token
string
header
required

Body

organization
number

Unique identifier for the Organization.

Example:

1

email
string

Email address of the user to be assigned to the VPN profile.

Example:

"jdoe@sample.com"

Response

201
application/json
error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Required range: 0 <= x <= 0
Example:

0

messages
any[]

If error is 1, contains zero or more details on the error.

Example:
[]
vpn
number

Created VPN profile unique id.