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
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Corpo

organization
number

Unique identifier for the Organization.

Esempi:

1

2

3

email
string<email>

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

Risposta

error
integer

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

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

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

Esempio:
[]
vpn
number

Created VPN profile unique id.