Requires the environments-vpn
capability.
Returns the VPN service.
General error response from the platform
{- "data": {
- "url": "string",
- "service": {
- "enable": true,
- "container_id": "string",
- "auto_update": true,
- "config": {
- "allow_internet": true,
- "auth": {
- "webhook": "string",
- "cycle_accounts": true,
- "vpn_accounts": true
}
}
}
}
}
Requires the environments-vpn
capability.
Returns a VPNInfo resource.
General error response from the platform
{- "data": [
- {
- "id": "651586fca6078e98982dbd90",
- "username": "string",
- "environment_id": "string",
- "ip": "string",
- "time": "2021-01-30T08:30:00Z",
- "success": true
}
]
}
Requires the environments-vpn-manage
capability.
Returns a list of VPN users for the given VPN.
General error response from the platform
{- "data": [
- {
- "id": "651586fca6078e98982dbd90",
- "username": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "last_login": "2021-01-30T08:30:00Z",
- "hub_id": "651586fca6078e98982dbd90",
- "environment_id": "string",
- "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
]
}
Requires the environments-vpn-manage
capability.
Returns a VPN User.
General error response from the platform
{- "username": "string",
- "password": "string"
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "username": "string",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "last_login": "2021-01-30T08:30:00Z",
- "hub_id": "651586fca6078e98982dbd90",
- "environment_id": "string",
- "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Requires the environments-vpn-manage
capability.
Returns no data.
General error response from the platform
{- "data": "string"
}
Used to reconfigure or reset the Environment VPN. Requires the environments-vpn-manage
capability.
Returns a Job Descriptor.
General error response from the platform
{- "action": "reset"
}
{- "data": {
- "action": "string",
- "job": {
- "id": "string",
- "accepted": true,
- "queue": "string",
- "schedule": "2021-01-30T08:30:00Z",
- "parallel": {
- "sub_queue": "string",
- "tasks": true
}, - "tasks": [
- {
- "caption": "string",
- "header": "string",
- "steps": [
- {
- "caption": "string",
- "description": "string",
- "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z"
}
], - "input": {
- "property1": null,
- "property2": null
}
}
]
}
}
}