Vai al contenuto principale
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": "[email protected]"
}
'
{
  "error": 0,
  "messages": "<array>",
  "vpn": 123
}

Authorizations

X-Aegister-Token
string
header
required

Body

organization
number

Unique identifier for the Organization.

email
string<email>

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

Response

error
integer

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

Intervallo richiesto: 0 <= x <= 0
messages
array

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

vpn
number

Created VPN profile unique id.