Skip to main content
POST
/
api
/
v1
/
vpn
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": 123,
  "email": "jsmith@example.com"
}
'
{
  "error": 0,
  "messages": "<array>",
  "vpn": 123
}

Authorizations

X-Aegister-Token
string
header
required

Body

organization
number

Unique identifier for the Organization.

Examples:

1

2

3

email
string<email>

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

Example:

"jdoe@sample.com"

Response

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
array

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

Example:
[]
vpn
number

Created VPN profile unique id.