Retrieves VPN Profile by id.
You can get only VPN profiles you have created.
curl --request GET \ --url https://app.aegister.com/api/v1/vpn/{id} \ --header 'X-Aegister-Token: <api-key>'
{ "error": 0, "messages": [], "data": { "id": 11, "organization": { "id": 5, "name": "Sample Organization", "logo": "https://sample.com/logo.svg" }, "created_at": "2023-11-07T05:31:56Z", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "cert": "<string>" } }
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
1
[]
Show child attributes
Unique identifier for the VPN profile.
11
Unique identifier for the Organization.
5
Organization common name.
"Sample Organization"
Organization logo URL.
"https://sample.com/logo.svg"
Date and time of creation of the VPN profile.
Unique identifier for the user.
Email address of the user.
Certificate blob representation.