Download OpenAPI specification:Download
Cohesive networks VNS3 API providing complete control of your network's addresses, routes, rules and edge
Enables and disables remote support. Revokes the validity of a remote support keypair generated with postGenerateKeypair
enabled | boolean True if remote support should be enabled |
revoke_credential | boolean True if remote support credential should be revoked |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "enabled": true
}
{- "enabled": true,
- "revoke_credential": false
}
Generating a remote support key which can be shared with Cohesive to provide access to the internal of the VNS3 Manager remotely as a "one time key". Once Cohesive has used the key it can be revoked and access terminated.
Encrypted passphrase file which will be used to generate an X509 key for accessing the VNS3 Manager in support mode. These are generated and owned by Cohesive. Contact support@cohesive.net for an encrypted passphrase file.
SSH key .pem file
Bad request
Authentication information missing or invalid
Error occurred
{- "error": {
- "name": "APIArgumentError",
- "log": "156347797058992573673734848595852371200179",
- "message": "Bad encrypted passphrase"
}
}
Retrieve list of api tokens
OK
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "id": 0,
- "created_at": "2020-04-18T17:02:10Z",
- "token": "string",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "refreshes": true,
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
]
}
Create api token
expires | integer [ 60 .. 31536000 ] Default: 3600 Number of seconds before expiration |
token_name | string Optional description of token |
refreshes | boolean Token lifetime refreshes when used |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "expires": 3600,
- "token_name": "string",
- "refreshes": true
}
{- "response": {
- "id": 0,
- "created_at": "2020-04-18T17:02:10Z",
- "token": "string",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "refreshes": true,
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
}
Retrieve details for specific access token (including expired ones)
token_id required | integer Token ID |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "id": 0,
- "created_at": "2020-04-18T17:02:10Z",
- "token": "string",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "refreshes": true,
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
}
Expire api token
token_id required | integer Token ID |
expired | boolean |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "expired": true
}
{- "response": {
- "id": 0,
- "created_at": "2020-04-18T17:02:10Z",
- "token": "string",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "refreshes": true,
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
}
Delete api token by ID
token_id required | integer Token ID |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "response": "Token deleted"
}
Retrieve list of users' access urls, including expired ones
OK
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "id": 0,
- "url": "string",
- "created_at": "2020-04-18T17:02:10Z",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
]
}
Create access URL
expires | integer [ 60 .. 259200 ] Default: 3600 Number of seconds before expiration |
description | string |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "expires": 3600,
- "description": "string"
}
{- "response": {
- "id": 0,
- "url": "string",
- "created_at": "2020-04-18T17:02:10Z",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
}
Delete access URL by ID or URL
access_url_id required | integer ID of access URL |
access_url | string |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "access_url_id": 0,
- "access_url": "string"
}
{- "response": "Access url deleted"
}
Retrieve details for specific access url (including expired ones)
access_url_id required | integer Access URL ID |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "id": 0,
- "url": "string",
- "created_at": "2020-04-18T17:02:10Z",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
}
Expire access URL
access_url_id required | integer Access URL ID |
expired | boolean |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "expired": true
}
{- "response": {
- "id": 0,
- "url": "string",
- "created_at": "2020-04-18T17:02:10Z",
- "created_ip": "string",
- "description": "string",
- "expires_at": "2020-04-18T17:02:10Z",
- "lifetime": "string",
- "expired": true,
- "last_accessed_at": "string",
- "last_accessed_ip": "string"
}
}
Delete access url by ID
access_url_id required | integer Access URL ID |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "response": "Access url deleted"
}
Returns cloud-specific data depending upon cloud type. Supports EC2 and GCE. More clouds coming soon.
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "cloud_type": "ec2",
- "cloud_data": {
- "accountId": "10801293012",
- "availabilityZone": "us-east-1a",
- "ramdiskId": null,
- "kernelId": null,
- "pendingTime": "2019-07-19T21:45:07.000Z",
- "architecture": "x86_64",
- "privateIp": "192.168.1.211",
- "devpayProductCodes": null,
- "marketplaceProductCodes": null,
- "version": "2017-09-30T00:00:00.000Z",
- "region": "us-east-1",
- "imageId": "ami-8400209011nsd0111",
- "billingProducts": null,
- "instanceId": "i-123123asdf0t41211",
- "instanceType": "t2.micro"
}
}
}
Server action for VNS3 controller. Currently only reboot supported.
reboot | boolean |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "reboot": true
}
{- "response": {
- "status": "rebooting"
}
}
Describe Runtime status details
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "connected_clients": {
- "property1": {
- "managerid": 0,
- "overlay_ipaddress": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "managerid": 0,
- "overlay_ipaddress": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}, - "connected_subnets": [
- [
- "string"
]
], - "ipsec": {
- "property1": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}, - "property2": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}
}
}
Provides information about the underlying appliance; memory, cpu, disk space, etc
timestamp | integer Unix timestamp |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "timestamp": "string",
- "timestamp_i": 0,
- "vns3_version": "string",
- "kernel_version": "string",
- "uptime": 0,
- "loadavg": [
- "string"
], - "diskinfo": [
- [
- "string"
]
], - "meminfo": [
- "string"
], - "swapinfo": [
- "string"
], - "container_system": {
- "container_system_running": true,
- "images_limit": 0,
- "images_stored": 0,
- "containers_limit": 0,
- "containers_active": 0,
- "container_network": "string"
}, - "data": {
- "sysstat": [
- [
- "vnscubed",
- "597",
- "1564089901",
- "all",
- "%user",
- "2.91"
], - [
- "vnscubed",
- "597",
- "1564089901",
- "all",
- "%nice",
- "0.02"
], - [
- "vnscubed",
- "597",
- "1564089901",
- "all",
- "%system",
- "1.49"
], - [
- "vnscubed",
- "597",
- "1564089901",
- "all",
- "%iowait",
- "0.51"
], - [
- "vnscubed",
- "597",
- "1564089901",
- "all",
- "%steal",
- "0.01"
]
]
}
}
}
Describe task status details
token | string |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "token": "string"
}
{- "response": {
- "task_status": "string"
}
}
Update Admin UI settings. Enable/Disable and set credentials.
enabled | boolean |
admin_username | string |
admin_password | string |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "enabled": true,
- "admin_username": "vnscubed_user",
- "admin_password": "supersecurepassword"
}
{- "response": {
- "enabled": true,
- "username": "vnscubed_user"
}
}
Allows you to change the API password/secret key. To change the Web UI password (or username) use PUT admin_ui.
password | string |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "password": "string"
}
{- "response": {
- "password_reset": "ok"
}
}
Describe Runtime Configuration for VNS3 Controller
Get runtime Configuration details
Authentication information missing or invalid
Error occurred
{- "response": {
- "asn": 65001,
- "topology_name": "Cohesive",
- "topology_checksum": "a04a92073a4f6f32a2abce45439a2d8c016334dc",
- "manager_id": 1,
- "ntp_hosts": "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org ntp.ubuntu.com time.apple.com",
- "vns3_version": "4.5.0",
- "licensed": true,
- "overlay_ipaddress": "172.31.0.100",
- "peered": true,
- "public_ipaddress": "50.240.142.209",
- "private_ipaddress": "192.168.30.247"
}
}
Provides general information about the manager's topology, license state and checksums and allows you to set the topology name.
topology_name | string Specifies a text name to display at the top of the web ui and in the desc_config API response |
ntp_hosts | string Single or space separated list of ntp server IPs or dns names. Using this argument overwrites the existing Configuration. |
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "topology_name": "Cohesive Test Topology"
}
{- "response": {
- "asn": 0,
- "topology_name": "string",
- "topology_checksum": "string",
- "manager_id": 0,
- "ntp_hosts": "string",
- "vns3_version": "string",
- "licensed": true,
- "overlay_ipaddress": "string",
- "peered": true,
- "public_ipaddress": "string",
- "private_ipaddress": "string",
- "security_token": "string"
}
}
Alias for GET /config
Get runtime Configuration details
Authentication information missing or invalid
Error occurred
{- "response": {
- "asn": 65001,
- "topology_name": "Cohesive",
- "topology_checksum": "a04a92073a4f6f32a2abce45439a2d8c016334dc",
- "manager_id": 1,
- "ntp_hosts": "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org ntp.ubuntu.com time.apple.com",
- "vns3_version": "4.5.0",
- "licensed": true,
- "overlay_ipaddress": "172.31.0.100",
- "peered": true,
- "public_ipaddress": "50.240.142.209",
- "private_ipaddress": "192.168.30.247"
}
}
Upload new SSL cert and key pair
cert required | string |
key required | string |
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "cert": "string",
- "key": "string"
}
{- "response": "Valid key/cert files uploaded"
}
Install new SSL cert and key pair
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "response": {
- "status": "SSL Cert installation queued",
- "uuid": "10923jnowfdhgu039jon4r09201"
}
}
Get status for ssl installation task
uuid required | string uuid of resource |
OK
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "uuid": "19230109239012390129031012312",
- "status": "Job pending",
- "state": "pending"
}
}
Returns status of whether cryptographic credentials, which are used to provide overlay devices access to the topology, have been generated.
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "keyset_present": true,
- "created_at": "2019-07-19T19:44:02.191Z",
- "created_at_i": 1563565442,
- "checksum": "6093b865464ec3f7ab7213975c3b952763d1df14",
- "uuid": "8effb1ea-aa5d-11e9-aaf4-02935c82307a"
}
}
Generates or fetches cryptographic credentials which are used to provide overlay devices access to the topology. Keyset generation happens in background. Poll on GET /keyset in_progress value.
source | string If provided, fetches keyset from source manager |
token required | string Arbitrary key used to help randomize the checksum, it must be identical for each manager in a topology. |
topology_name | string Name for the topology |
sealed_network | boolean UPDATEME |
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "source": "string",
- "token": "string",
- "topology_name": "string",
- "sealed_network": true
}
{- "response": {
- "keyset_preset": false,
- "in_progress": true,
- "started_at": "2019-07-19T19:43:00.147Z",
- "started_at_i": 1563565380,
- "running": 0
}
}
Get license details
Get license topology details
Authentication information missing or invalid
Error occurred
{- "response": {
- "capabilities": [
- "string"
], - "finalized": true,
- "license": "string",
- "license_present": true,
- "sha1_checksum": "string",
- "uploaded_at": "string",
- "custom_addressing": true,
- "uploaded_at_i": 0,
- "container_details": {
- "containers_run_count": 0,
- "containers_image_count": 0
}, - "topology": {
- "clients": [
- {
- "ip_address": "string",
- "octets": [
- 0
]
}
], - "managers": [
- {
- "asn": 0,
- "manager_id": 0,
- "overlay_ipaddress": {
- "ip_address": "string",
- "octets": [
- 0
]
}
}
], - "total_clients": 0,
- "ipsec_max_subnets": 0,
- "ipsec_max_endpoints": 0,
- "license_upgrades": [
- "string"
], - "overlay_max_clients": 0,
- "overlay_subnet": "string"
}
}
}
License a VNS3 Controller to be a part of a specific topology. Must not be licensed already.
License file
Upload license response
Bad request
Authentication information missing or invalid
Error occurred
{- "response": {
- "capabilities": [
- "string"
], - "finalized": true,
- "license": "string",
- "license_present": true,
- "default_topology": {
- "clients": [
- {
- "ip_address": "string",
- "octets": [
- 0
]
}
], - "managers": [
- {
- "asn": 0,
- "manager_id": 0,
- "overlay_ipaddress": {
- "ip_address": "string",
- "octets": [
- 0
]
}
}
], - "total_clients": 0,
- "ipsec_max_subnets": 0,
- "ipsec_max_endpoints": 0,
- "license_upgrades": [
- "string"
], - "overlay_max_clients": 0,
- "overlay_subnet": "string"
}
}
}
Set and accept license parameters. Triggers reboot. Irreversible operation.
subnet | string Specifies the CIDR of the virtual network created for use with the VNS3 Manager |
managers | string Whitespace delimited address string in the subnet to use for the VNS3 Controllers' virtual interfaces. |
asns | string Whitespace delimited string of ASNs (autonomous system numbers) corresponding to the order of the controllers |
clients | string Comma delimited, or hyphenated sequence of addresses for use as client addresses in the virtual network. |
my_manager_vip | string IPAddress that must be allocated from the subnet, and be the same for all controllers |
default required | boolean Default: false Specifices whether to use defualt topology addressing as specified by the license |
Put new license parameters for topology
Bad request
Authentication information missing or invalid
Error occurred
{- "subnet": "string",
- "managers": "string",
- "asns": "string",
- "clients": "string",
- "my_manager_vip": "string",
- "default": false
}
{- "response": {
- "license": "string",
- "finalized": true,
- "parameters": {
- "subnet": "string",
- "controllers": [
- "string"
], - "managers": [
- "string"
], - "clients": [
- "string"
], - "asns": [
- 0
], - "my_manager_vip": "string"
}
}
}
Upload new license to controller
License file
New license parameters
Authentication information missing or invalid
Error occurred
{- "response": {
- "finalized": true,
- "uniq": "string",
- "license": "string",
- "new_clientpacks": 0,
- "new_managers": 0
}
}
Describe ipsec tunnels status
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "property1": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}, - "property2": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}
}
Provides information about the connection history of the subnet or tunnel
remote | string Address string in CIDR format to display link history to a remote endpoint. |
local | string Address string in CIDR format which will display status of the local route |
tunnelid | integer Will display link history of just the tunnel specified, which may be only one tunnel to a remote endpoint. |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "remote": "string",
- "local": "string",
- "tunnelid": 0,
- "history": [
- {
- "event": "string",
- "timestamp": "string",
- "timestamp_i": 0
}
]
}
}
Get details for all IPsec endpoints/subnets
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "this_endpoint": {
- "ipaddress": "3.222.68.251",
- "overlay_subnet": "100.127.255.192/26",
- "private_ipaddress": "192.168.1.230",
- "ipsec_local_ipaddress": "192.168.1.230",
- "asn": 65001
}, - "remote_endpoints": { }
}
}
Restart ipsec subystem
restart required | boolean Restarts target system on server if true |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "restart": true
}
{- "response": {
- "restart": true
}
}
Edit Ipsec Configuration on device. Note, This is device wide and must be set before any remote endpoint definitions are created. If it needs to be changed, all remote endpoint information and tunnel information must be deleted first.
ipsec_local_ipaddress required | string This is effectively a "cloud NAT" address, since you don't know what your LAN address will be between invocations in a cloud, this address can be used by remote endpoints as your "behind a NAT" address, sometimes referred to Peer or IKE ID, if needed (e.g. Watchguard or Juniper). It can ALSO be thought of even more simply as an IPsec "loopback" interface that you can use to terminate traffic. |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "ipsec_local_ipaddress": "string"
}
{- "response": {
- "this_endpoint": {
- "nat_traversal": true,
- "ipaddress": "string",
- "overlay_subnet": "string",
- "private_ipaddress": "string",
- "ipsec_local_ipaddress": "string",
- "asn": 0
}, - "remote_endpoints": {
- "property1": {
- "id": 0,
- "name": "string",
- "ipaddress": "string",
- "nat_t_enabled": true,
- "ike_version": 0,
- "pfs": true,
- "private_ipaddress": "string",
- "extra_config": [
- "string"
], - "tunnels": {
- "property1": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}, - "property2": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}, - "bgp_peers": {
- "property1": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}, - "property2": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}
}, - "type": "string",
- "vpn_type": "string",
- "gre_interface_address": "string",
- "route_based_int_address": "string",
- "route_based_local": "string",
- "route_based_remote": "string",
- "psk": "string"
}, - "property2": {
- "id": 0,
- "name": "string",
- "ipaddress": "string",
- "nat_t_enabled": true,
- "ike_version": 0,
- "pfs": true,
- "private_ipaddress": "string",
- "extra_config": [
- "string"
], - "tunnels": {
- "property1": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}, - "property2": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}, - "bgp_peers": {
- "property1": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}, - "property2": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}
}, - "type": "string",
- "vpn_type": "string",
- "gre_interface_address": "string",
- "route_based_int_address": "string",
- "route_based_local": "string",
- "route_based_remote": "string",
- "psk": "string"
}
}
}
}
Create IPsec connection to the defined remote gateway
name required | string Name for the connection. |
ipaddress required | string IP of the remote gateway |
secret required | string Pre-shared key |
pfs | boolean Default: true Perfect Forward Secrecy if true, disables if false. |
ike_version | integer Default: 1 Enum: 1 2 Version for IKE algorithm |
nat_t_enabled | boolean Default: true True if you want encapsulated IPsec protocol to this gateway |
extra_config | string Additional optionals for connection such as 'phase1=aes256_gcm-sha2_256-dh14 phase2=aes256_gcm' |
private_ipaddress | string Internal NAT address of the remote gateway |
gre | boolean True if GRE is being used for the specific endpoint |
gre_interface_address | string Interface for GRE in /30 format |
vpn_type | string policy, gre, vti |
route_based_int_address | string |
route_based_local | string |
route_based_remote | string |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "ipaddress": "string",
- "secret": "string",
- "pfs": true,
- "ike_version": 1,
- "nat_t_enabled": true,
- "extra_config": "string",
- "private_ipaddress": "string",
- "gre": true,
- "gre_interface_address": "string",
- "vpn_type": "string",
- "route_based_int_address": "string",
- "route_based_local": "string",
- "route_based_remote": "string"
}
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Get IPsec endpoint information
endpoint_id required | integer >= 0 ID for IPsec endpoint |
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Edit IPsec connection
endpoint_id required | integer >= 0 ID for IPsec endpoint |
name | string Name for the connection. |
ipaddress | string IP of the remote gateway |
secret | string Pre-shared key |
pfs | boolean Perfect Forward Secrecy if true, disables if false. |
ike_version | integer Enum: 1 2 Version for IKE algorithm |
nat_t_enabled | boolean True if you want encapsulated IPsec protocol to this gateway |
extra_config | string Additional optionals for connection such as 'phase1=aes256_gcm-sha2_256-dh14 phase2=aes256_gcm' |
private_ipaddress | string Internal NAT address of the remote gateway |
gre | boolean True if GRE is being used for the specific endpoint |
gre_interface_address | string Interface address for GRE |
vpn_type | string policy, gre, vti |
route_based_int_address | string |
route_based_local | string |
route_based_remote | string |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "ipaddress": "string",
- "secret": "string",
- "pfs": true,
- "ike_version": 1,
- "nat_t_enabled": true,
- "extra_config": "string",
- "private_ipaddress": "string",
- "gre": true,
- "gre_interface_address": "string",
- "vpn_type": "string",
- "route_based_int_address": "string",
- "route_based_local": "string",
- "route_based_remote": "string"
}
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Delete IPsec endpoint
endpoint_id required | integer >= 0 ID for IPsec endpoint |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "response": {
- "this_endpoint": {
- "nat_traversal": true,
- "ipaddress": "string",
- "overlay_subnet": "string",
- "private_ipaddress": "string",
- "ipsec_local_ipaddress": "string",
- "asn": 0
}, - "remote_endpoints": {
- "property1": {
- "id": 0,
- "name": "string",
- "ipaddress": "string",
- "nat_t_enabled": true,
- "ike_version": 0,
- "pfs": true,
- "private_ipaddress": "string",
- "extra_config": [
- "string"
], - "tunnels": {
- "property1": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}, - "property2": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}, - "bgp_peers": {
- "property1": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}, - "property2": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}
}, - "type": "string",
- "vpn_type": "string",
- "gre_interface_address": "string",
- "route_based_int_address": "string",
- "route_based_local": "string",
- "route_based_remote": "string",
- "psk": "string"
}, - "property2": {
- "id": 0,
- "name": "string",
- "ipaddress": "string",
- "nat_t_enabled": true,
- "ike_version": 0,
- "pfs": true,
- "private_ipaddress": "string",
- "extra_config": [
- "string"
], - "tunnels": {
- "property1": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}, - "property2": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}, - "bgp_peers": {
- "property1": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}, - "property2": {
- "asn": 0,
- "ipaddress": "string",
- "access_list": "string",
- "id": 0,
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0,
- "connection_detail": "string"
}
}, - "type": "string",
- "vpn_type": "string",
- "gre_interface_address": "string",
- "route_based_int_address": "string",
- "route_based_local": "string",
- "route_based_remote": "string",
- "psk": "string"
}
}
}
}
Create IPsec endpoint tunnel
endpoint_id required | integer >= 0 ID for IPsec endpoint |
description | string |
remote_subnet required | string Remote subnet for tunnel in CIDR notation |
local_subnet | string Local subnet for tunnel in CIDR notation |
ping_ipaddress | string Exo Ping feature - remote IP destination of ping |
ping_interval | integer Exo Ping feature - periodicy of the ping in seconds |
ping_interface | string Exo Ping feature - what network interface IP of the VNS3 controller to use as the source of ping |
enabled | boolean Default: true Disables tunnel if set to false |
Created
Bad request
Authentication information missing or invalid
Permission denied. Max number of tunnels reach
Error occurred
{- "description": "string",
- "remote_subnet": "string",
- "local_subnet": "string",
- "ping_ipaddress": "string",
- "ping_interval": 0,
- "ping_interface": "string",
- "enabled": true
}
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Edit IPsec endpoint tunnel
endpoint_id required | integer >= 0 ID for IPsec endpoint |
tunnel_id required | integer ID for tunnel |
bounce | boolean Default: false Resets the IPsec connection for this specific tunnel |
description | string |
remote_subnet | string Remote subnet for tunnel in CIDR notation |
local_subnet | string Local subnet for tunnel in CIDR notation |
ping_ipaddress | string Exo Ping feature - remote IP destination of ping |
ping_interval | integer Exo Ping feature - periodicy of the ping in seconds |
ping_interface | string Exo Ping feature - what network interface IP of the VNS3 controller to use as the source of ping |
enabled | boolean Disables tunnel if set to false |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "bounce": false,
- "description": "string",
- "remote_subnet": "string",
- "local_subnet": "string",
- "ping_ipaddress": "string",
- "ping_interval": 0,
- "ping_interface": "string",
- "enabled": true
}
{- "response": {
- "id": 0,
- "local_subnet": "string",
- "remote_subnet": "string",
- "endpointid": 0,
- "endpoint_id": 0,
- "endpoint_name": "string",
- "enabled": true,
- "active": true,
- "description": "string",
- "bounce": true,
- "connected": true,
- "ping_interface": "eth0",
- "ping_interval": 0,
- "ping_ipaddress": "string",
- "tunnel_params": {
- "phase2": "string",
- "outbound_spi": "string",
- "inbound_spi": "string",
- "bytes_in": "string",
- "bytes_out": "string",
- "esp_time_remaining": "string",
- "esp_port": "string",
- "phase2_algo": "string",
- "phase2_hash": "string",
- "nat_t": "string",
- "dpd": "string",
- "pfs_dh_group": 0,
- "phase1": "string",
- "isakmp_port": "string",
- "isakmp_time_remaining": "string",
- "last_dpd": "string",
- "phase1_cipher": "string",
- "phase1_prf": "string",
- "phase1_dh_group": 0,
- "ike_version": "string"
}
}
}
Delete IPsec tunnel
endpoint_id required | integer >= 0 ID for IPsec endpoint |
tunnel_id required | integer ID for tunnel |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Get a list of current firewall rules
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": [
- [
- "string"
]
]
}
Adds a firewall rule to the VNS3 Controller's firewall
rule required | string New firewall rule string that needs to be compatible with a Linux "iptables" statement |
position | integer Default: -1 Position which the rule will be inserted in the list of Firewall rules. Default is -1, which will post as the next rule in the list |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "rule": "MACRO_CUST -o eth0 -s 10.199.2.0/24 -j MASQUERADE",
- "position": 0
}
{- "response": {
- "status": "submitted",
- "rule": "MACRO_CUST -o eth0 -s 10.199.2.0/24 -j MASQUERADE",
- "token": 1.5641553402765172e+62
}
}
Delete firewall rule
rule required | string Rule to be deleted |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "rule": "MACRO_CUST -o eth0 -s 10.199.2.0/24 -j MASQUERADE"
}
{- "response": {
- "status": "submitted",
- "position": 0,
- "rule": "MACRO_CUST -o eth0 -s 10.199.2.0/24 -j MASQUERADE",
- "token": 1.5641553402765172e+62
}
}
Delete Firewall Rule
position required | integer index position for firewall rule, 0 is first |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "status": "submitted",
- "rule": "MACRO_CUST -o eth1 -s 10.0.2.0/24 -j MASQUERADE\\n",
- "position": 0,
- "token": 1.5641555503109367e+64
}
}
Get a list of current firewall rules at subgroup (chained rules)
name | string name of resource |
verbose | boolean Default: true True for verbose output |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": [
- "string"
]
}
Create a new firewall subgroup rules (rule chain)
rules | string Chained firewall rules seperated by \n |
name | string 'name of the subgroup. Must be valid chain that begins with one of the following: PRE_C_, PST_C_, FWD_C_, INP_C_, OUT_C_.' |
position | integer Position which the chain will be inserted in the list of Firewall rules. Default is 0, which is first in the ruleset |
flush | boolean Default: true |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "rules": "string",
- "name": "string",
- "position": 0,
- "flush": true
}
{- "response": {
- "status": "ok",
- "rules": "Rule 1\\n Rule 2\\n Rule 3"
}
}
Reinitialize Firewall subgroups
reinitialize | boolean |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "reinitialize": true
}
{- "error": {
- "name": "UnauthorizedError",
- "log": "1563472268929826518356034508450851266833526",
- "message": "Invalid or expired token"
}
}
Delete Firewall subgroup by name or rules
rules | string Chained firewall rules seperated by "\n" |
name | string 'name of the FWSet. Must be valid chain that begins with one of the following: NETS_, PORTS_, LIST_.' |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Not found
Resource gone
Error occurred
{- "rules": "string",
- "name": "string"
}
{- "response": {
- "status": "string"
}
}
Get a list of current firewall rule sets. These are IPsets that allow for faster matching of rules against IPs. See http://ipset.netfilter.org for more details.
name | string name of resource |
verbose | boolean Default: true True for verbose output |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": [
- "string"
]
}
Create a new firewall FWSet for fast rule matching
rules | string Chained firewall rules seperated by "\n" |
name | string 'name of the FWSet. Must be valid chain that begins with one of the following: NETS_, PORTS_, LIST_.' |
flush | boolean Default: true |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "rules": "string",
- "name": "string",
- "flush": true
}
{- "response": {
- "0": "string",
- "status": "ok",
- "rules": "Rule 1\\n Rule 2\\n Rule 3"
}
}
Reinitialize all Firewall FWSet
reinitialize | boolean |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "reinitialize": true
}
{- "error": {
- "name": "UnauthorizedError",
- "log": "1563472268929826518356034508450851266833526",
- "message": "Invalid or expired token"
}
}
Delete Firewall FWSet by name or rules
rules | string Chained firewall rules seperated by "\n" |
name | string 'name of the FWSet. Must be valid chain that begins with one of the following: NETS_, PORTS_, LIST_.' |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "rules": "string",
- "name": "string"
}
{- "response": {
- "status": "finished_ok"
}
}
Describes routes that this manager has access to via its network interfaces (virtual or otherwise). If advertized, other VNS3 Controllers will receive the route instantly. Network clients will receive it when they get their next route push, which is normally on a re-connect or in neartime if they use the VNS3 Routing agent on their cloud servers. Remote endpoints (other data centers) would not receive the route unless specified as part of their IPsec Configuration AND the Configuration of such a tunnel on the VNS3 controller.
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "1": {
- "netmask": "240.0.0.0",
- "id": 1,
- "cidr": "224.0.0.0/4",
- "interface": "tun0",
- "description": "Multicast (auto-added)",
- "advertise": false,
- "metric": 0
}, - "2": {
- "netmask": "255.255.255.0",
- "id": 2,
- "cidr": "192.168.1.0/24",
- "gateway": "192.168.1.1",
- "interface": "eth0",
- "description": "US West Peer",
- "advertise": false,
- "metric": 0
}
}
}
Pushes routes that this manager has access to via its network interfaces (virtual or otherwise)
cidr required | string CIDR of a route that the VNS3 Controller has access to that it wants to publish throughout the Routing tables of the overlay network |
description | string |
interface | string Sets the interface where this route will be advertised. |
gateway | string If interface is set, a specific gateway address reachable from that interface |
tunnel | integer numerical reference for the GRE endpoint id (must provide either tunnel OR interface) |
advertise | boolean advertise route to overlay network |
metric | integer weight for route |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "cidr": "172.31.3.0/24",
- "gateway": "172.31.3.1",
- "metric": 0,
- "interface": "eth0"
}
{- "response": {
- "1": {
- "netmask": "240.0.0.0",
- "id": 1,
- "cidr": "224.0.0.0/4",
- "interface": "tun0",
- "description": "Multicast (auto-added)",
- "advertise": false,
- "metric": 0
}, - "2": {
- "netmask": "255.255.255.0",
- "id": 2,
- "cidr": "192.168.1.0/24",
- "interface": "eth0",
- "gateway": "192.168.1.1",
- "description": "Peer 1 subnet Gateway",
- "advertise": false,
- "metric": 0
}
}
}
Delete Route
route_id required | integer >= 0 ID for Route |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "response": {
- "property1": {
- "netmask": "string",
- "id": 0,
- "cidr": "string",
- "interface": "string",
- "description": "string",
- "advertise": true,
- "metric": 0,
- "gateway": "string"
}, - "property2": {
- "netmask": "string",
- "id": 0,
- "cidr": "string",
- "interface": "string",
- "description": "string",
- "advertise": true,
- "metric": 0,
- "gateway": "string"
}
}
}
Describe overlay clients
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "property1": {
- "managerid": 0,
- "overlay_ipaddress": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "managerid": 0,
- "overlay_ipaddress": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
}
Provides information about any connected subnets.
extended_output | boolean Default: false Receive verbose information about resources |
OK
Authentication information missing or invalid
Error occurred
{- "response": [
- [
- "string"
]
]
}
Returns detailed information about all of the clientpacks in the topology. If manager's are properly peered, this information can come from any of the controllers.
sorted | boolean Default: false Sort resources |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "property1": {
- "name": "string",
- "overlay_ipaddress": "string",
- "linux_onefile": "string",
- "enabled": true,
- "conf_sha1": "string",
- "windows_onefile": "string",
- "ovpn_sha1": "string",
- "tarball_file": "string",
- "tarball_sha1": "string",
- "sequential_id": 0,
- "checked_out": true,
- "zip_sha1": "string",
- "zip_file": "string",
- "last_connect": "string",
- "last_disconnect": "string",
- "status": "string",
- "connected": true,
- "manager_id": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "name": "string",
- "overlay_ipaddress": "string",
- "linux_onefile": "string",
- "enabled": true,
- "conf_sha1": "string",
- "windows_onefile": "string",
- "ovpn_sha1": "string",
- "tarball_file": "string",
- "tarball_sha1": "string",
- "sequential_id": 0,
- "checked_out": true,
- "zip_sha1": "string",
- "zip_file": "string",
- "last_connect": "string",
- "last_disconnect": "string",
- "status": "string",
- "connected": true,
- "manager_id": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
}
For bulk set of the enabled (true/false) state for all clientpacks and the checked_out (true/false) state for all clientpacks. This enables a variety of work flows by calling these functions after key generation, but before general provisioning of addresses to devivces
enabled | boolean Enable or disable clientpacks. |
checked_out | boolean Update whether clientpacks are checked out and thus unavailable |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "enabled": true,
- "checked_out": true
}
{- "response": {
- "enabled": true,
- "checked_out": true
}
}
Incrementally add new clientpacks for use
requested_ips required | string CSV of IP addresses to be used for new clientpacks |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "requested_ips": "string"
}
{- "response": "string"
}
Returns detailed information about all of the clientpacks in the topology. If manager's are properly peered, this information can come from any of the controllers.
clientpack_name required | string name of clientpack |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "clientpack": {
- "name": "string",
- "overlay_ipaddress": "string",
- "linux_onefile": "string",
- "enabled": true,
- "conf_sha1": "string",
- "windows_onefile": "string",
- "ovpn_sha1": "string",
- "tarball_file": "string",
- "tarball_sha1": "string",
- "sequential_id": 0,
- "checked_out": true,
- "zip_sha1": "string",
- "zip_file": "string",
- "last_connect": "string",
- "last_disconnect": "string",
- "status": "string",
- "connected": true,
- "manager_id": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
}
Returns clientpack file. Clientpacks are files with the necessary information and credentials for an overlay client to be connected to the VNS3 topology
name required | string name of clientpack. Typical IP address with underscores. e.g. 100_127_255_200. |
fileformat required | string One of tarball (default), zip, conf, ovpn |
Clientpack file
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "error": {
- "name": "UnauthorizedError",
- "log": "1563472268929826518356034508450851266833526",
- "message": "Invalid or expired token"
}
}
Change properties of clientpacks; enabling or disabling, checking in or out, or regenerating
name required | string Name of the clientpack (IP snake case) |
enabled required | boolean Enable or disable clientpack. |
checked_out | boolean Update whether clientpack is checked out and thus unavailable |
regenerate | boolean Regenerate clientpack file. Returns a task token in the response. |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "name": "string",
- "enabled": true,
- "checked_out": true,
- "regenerate": true
}
{- "response": {
- "name": "string",
- "overlay_ipaddress": "string",
- "linux_onefile": "string",
- "enabled": true,
- "conf_sha1": "string",
- "windows_onefile": "string",
- "ovpn_sha1": "string",
- "tarball_file": "string",
- "tarball_sha1": "string",
- "sequential_id": 0,
- "checked_out": true,
- "zip_sha1": "string",
- "zip_file": "string",
- "last_connect": "string",
- "last_disconnect": "string",
- "status": "string",
- "connected": true,
- "manager_id": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
Get next sequential client pack. Provides sufficient information to call GET /clientpack. Note, Using this resource against multiple controllers in the same topology could cause distribution of the same clientpack to multiple overlay devices which is not allowed.
low_ip | string Set the lower bound for the resulting IP |
high_ip | string Set the upper bound for the resulting IP |
include_disabled | boolean Default: false Allows clientpack allocation from the disabled pool, for workflows where all clientpacks are disabled at the start. |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "low_ip": "string",
- "high_ip": "string",
- "include_disabled": false
}
{- "response": {
- "name": "string",
- "overlay_ipaddress": "string",
- "linux_onefile": "string",
- "enabled": true,
- "conf_sha1": "string",
- "windows_onefile": "string",
- "ovpn_sha1": "string",
- "tarball_file": "string",
- "tarball_sha1": "string",
- "sequential_id": 0,
- "checked_out": true,
- "zip_sha1": "string",
- "zip_file": "string",
- "last_connect": "string",
- "last_disconnect": "string",
- "status": "string",
- "connected": true,
- "manager_id": "string",
- "ipaddress": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
For resetting the connection of a client to a VNS3 Controller
name required | string Name of the clientpack as returned by the "desc_clientpacks" call |
disconnect | boolean Default: true |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "name": "string",
- "disconnect": true
}
{- "response": {
- "disconnecting": "string",
- "overlay_ipaddress": "string"
}
}
For resetting all of the connections of clients connected to the VNS3 Controller
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "resetting": [
- "string"
]
}
}
Force disconnect client for named clientpack
clientpack_name required | string name of clientpack |
disconnect required | boolean |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "disconnect": true
}
{- "response": {
- "disconnecting": "string",
- "overlay_ipaddress": "string"
}
}
For tagging individual clientpacks.
clientpack_name required | string name of clientpack |
key required | string Alphanumeric characters allowed in snake_case or kebab-case |
value required | string |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "key": "string",
- "value": "string"
}
{- "response": {
- "name": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
For deleting individual clientpack tags
clientpack_name required | string name of clientpack |
key required | string |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "key": "string"
}
{- "response": {
- "name": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
Provides the status of whether a Controller is peered to other Controllers
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "peered": true,
- "managers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}, - "controllers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}
}
}
Sets the Controller ID of a controller so that it can be peered within a topology
id required | integer Cannot be the same as the id of another manager in the topology, and cannot be greater than the number of controllers in the topology |
force | boolean |
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "id": 0,
- "force": true
}
{- "peered": true,
- "id": 1,
- "managers": {
- "1": {
- "overlay_ipaddress": "100.127.255.253",
- "self": true
}, - "2": {
- "overlay_ipaddress": "100.127.255.252",
- "not_set": true,
- "id": 2
}
}
}
Creates a peering relationship from a manager to another manager. The peering call is unidirectional. Reciprocal calls must be made to peer two controllers together and complete the peering process.
id required | integer Manager ID as an integer of the the manager you are peering with, NOT the id of the one you are calling from |
name required | string IP address or host name of the one you are peering with. |
overlay_mtu | string link MTU between 500 and 4800. Defaults to 1500 |
force | boolean Setting false will NOT finalize the peering operation. A peer "reconfigure" call would then be required. Default is true |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "id": 2,
- "name": "192.168.1.230"
}
{- "response": {
- "id": 0,
- "peered": true,
- "managers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}, - "controllers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}
}
}
Breaks a peering relationship from a manager to another manager. The peering call is unidirectional. Reciprocal calls must be made to fully break the peer relationship.
peer_id required | integer Peer ID for controller peer |
Delete Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "peered": true,
- "managers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}, - "controllers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}
}
}
Edits a peering relationship from a manager to another manager. The peering call is unidirectional. Reciprocal calls must be made to peer two controllers together and complete the peering process.
peer_id required | integer Peer ID for controller peer |
name | string IP address or host name of the one you are peering with. |
overlay_mtu | string link MTU between 500 and 4800 |
force | boolean Setting false will NOT finalize the peering operation. A peer "reconfigure" call would then be required. Default is true |
Updated
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "overlay_mtu": "string",
- "force": true
}
{- "response": {
- "id": 0,
- "peered": true,
- "managers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}, - "controllers": {
- "property1": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}, - "property2": {
- "id": 0,
- "not_set": true,
- "self": true,
- "mtu": "string",
- "reachable": true,
- "address": "string",
- "overlay_ipaddress": "string"
}
}
}
}
(BETA) Describe all physical and virtual interfaces, both system and edge GRE interfaces
Created
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "id": 4,
- "name": "eth0",
- "interface_type": "system",
- "description": "Auto-created interface",
- "ip_internal": "192.168.1.211",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": 24,
- "gateway": null,
- "system_default": true,
- "ip_external": "3.222.68.251",
- "tags": [ ]
}, - {
- "id": 5,
- "name": "lo",
- "interface_type": "system",
- "description": "Auto-created interface",
- "ip_internal": "127.0.0.1",
- "mtu": 65536,
- "enabled": true,
- "status": "Up",
- "mask_bits": 8,
- "gateway": null,
- "system_default": true,
- "ip_external": null,
- "tags": [ ]
}, - {
- "id": 7,
- "name": "eth0:0",
- "interface_type": "system",
- "description": "This interface used as IPsec loopback via Local Private IP",
- "ip_internal": "192.168.1.230",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": 31,
- "gateway": null,
- "system_default": true,
- "ip_external": null,
- "tags": [ ]
}, - {
- "id": 6,
- "name": "plugin0",
- "interface_type": "system_virtual",
- "description": "Auto-created interface",
- "ip_internal": "198.51.100.1",
- "mtu": 1500,
- "enabled": true,
- "status": "Up",
- "mask_bits": 28,
- "gateway": null,
- "system_default": false,
- "ip_external": null,
- "tags": [ ]
}
]
}
Take action on interfaces. Only one action can be taken per request.
discover_new_primary_adapters | boolean Run discovery for new primary adapters |
discover_ips | boolean |
manage_overlay_interfaces | boolean |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "discover_ips": true
}
{- "response": [
- "eth0"
]
}
Describe system interfaces
Created
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "id": 4,
- "name": "eth0",
- "interface_type": "system",
- "description": "Auto-created interface",
- "ip_internal": "192.168.1.211",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": 24,
- "gateway": null,
- "system_default": true,
- "ip_external": "3.222.68.251",
- "tags": [ ]
}, - {
- "id": 5,
- "name": "lo",
- "interface_type": "system",
- "description": "Auto-created interface",
- "ip_internal": "127.0.0.1",
- "mtu": 65536,
- "enabled": true,
- "status": "Up",
- "mask_bits": 8,
- "gateway": null,
- "system_default": true,
- "ip_external": null,
- "tags": [ ]
}, - {
- "id": 7,
- "name": "eth0:0",
- "interface_type": "system",
- "description": "This interface used as IPsec loopback via Local Private IP",
- "ip_internal": "192.168.1.230",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": 31,
- "gateway": null,
- "system_default": true,
- "ip_external": null,
- "tags": [ ]
}
]
}
Create new system interface
name required | string |
description | string |
ip_internal | string |
mtu | integer |
enabled | boolean |
mask_bits | string |
gateway | string Nullable |
system_default | boolean |
ip_external | string Nullable |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": true,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": true,
- "ip_external": "string"
}
{- "response": {
- "id": 16,
- "name": "tun1:1",
- "interface_type": "system_virtual",
- "description": "",
- "ip_internal": "192.168.1.250",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": "32",
- "gateway": null,
- "system_default": true,
- "ip_external": null,
- "tags": [ ]
}
}
Get interface details by name
interface_id required | string ID for system interface |
Accepted
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "id": 4,
- "name": "eth0",
- "interface_type": "system",
- "description": "Auto-created interface",
- "ip_internal": "192.168.1.211",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": 24,
- "gateway": null,
- "system_default": true,
- "ip_external": "3.222.68.251",
- "tags": [ ]
}
}
Update system interface
interface_id required | string ID for system interface |
name | string |
description | string |
ip_internal | string |
mtu | integer |
enabled | boolean |
mask_bits | string |
gateway | string Nullable |
system_default | boolean |
ip_external | string Nullable |
Updated
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": true,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": true,
- "ip_external": "string"
}
{- "response": {
- "id": 16,
- "name": "tun1:1",
- "interface_type": "system_virtual",
- "description": "Custom interface created",
- "ip_internal": "192.168.1.250",
- "mtu": 9001,
- "enabled": true,
- "status": "Up",
- "mask_bits": "32",
- "gateway": null,
- "system_default": true,
- "ip_external": null,
- "tags": [ ]
}
}
Delete System Interface
interface_id required | string ID for system interface |
Accepted
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "id": 0,
- "name": "string",
- "interface_type": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": true,
- "status": "string",
- "mask_bits": "string",
- "gateway": "string",
- "system_default": true,
- "ip_external": "string",
- "tags": [
- "string"
]
}
}
Describe system edge GRE endpoints
Created
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255,
- "id": 0,
- "interface_id": 0,
- "ip_external": "string",
- "name": "string",
- "interface_type": "string",
- "status": "string",
- "tags": [
- "string"
]
}
]
}
Create new edge GRE interface
endpoint_name | string |
description | string |
ip_internal | string |
mtu | integer |
enabled | boolean Default: false |
mask_bits | string |
system_default | boolean Default: false |
local_connection_ip | string |
remote_connection_ip | string |
ttl | integer Default: 255 |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255
}
{- "response": {
- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255,
- "id": 0,
- "interface_id": 0,
- "ip_external": "string",
- "name": "string",
- "interface_type": "string",
- "status": "string",
- "tags": [
- "string"
]
}
}
Get GRE interface details by id or name
interface_id required | string ID for system interface |
Accepted
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255,
- "id": 0,
- "interface_id": 0,
- "ip_external": "string",
- "name": "string",
- "interface_type": "string",
- "status": "string",
- "tags": [
- "string"
]
}
}
Update GRE interface
interface_id required | string ID for system interface |
endpoint_name | string |
description | string |
ip_internal | string |
mtu | integer |
enabled | boolean Default: false |
mask_bits | string |
system_default | boolean Default: false |
local_connection_ip | string |
remote_connection_ip | string |
ttl | integer Default: 255 |
Updated
Bad request
Authentication information missing or invalid
Error occurred
{- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255
}
{- "response": {
- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255,
- "id": 0,
- "interface_id": 0,
- "ip_external": "string",
- "name": "string",
- "interface_type": "string",
- "status": "string",
- "tags": [
- "string"
]
}
}
Delete GRE Interface
interface_id required | string ID for system interface |
Accepted
Authentication information missing or invalid
Not found
Error occurred
{- "response": {
- "endpoint_name": "string",
- "description": "string",
- "ip_internal": "string",
- "mtu": 0,
- "enabled": false,
- "mask_bits": "string",
- "gateway": "string",
- "system_default": false,
- "local_connection_ip": "string",
- "remote_connection_ip": "string",
- "ttl": 255,
- "id": 0,
- "interface_id": 0,
- "ip_external": "string",
- "name": "string",
- "interface_type": "string",
- "status": "string",
- "tags": [
- "string"
]
}
}
get list of snapshots
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "latest_snapshot": "snapshot_20140117_1389943293_50.240.142.209",
- "snapshots": {
- "snapshot_20140117_1389943258_50.240.142.209": {
- "sha1_checksum": "0ea0e930b96a6276b8dcb23d39378128784da557",
- "created_at": "2014/01/17 01:20:58 -0600",
- "created_at_i": 1389943258,
- "size": 334120
}
}
}
}
Create a new snapshot
name | string Name of file. Defaults to a timestamped name |
Created
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "name": "custom_snapshot_name"
}
{- "response": {
- "snapshot_name": {
- "sha1_checksum": "adc8052f3c0f618b9b1f9564aaa76bf8ce0bd381",
- "created_at": "2016-11-22T16:23:11.000Z",
- "created_at_i": 1479831791,
- "size": 957078
}
}
}
Download snapshot file
snapshot_name required | string name of Snapshot |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Not found
Error occurred
{- "error": {
- "name": "UnauthorizedError",
- "log": "1563472268929826518356034508450851266833526",
- "message": "Invalid or expired token"
}
}
Delete named snapshot
snapshot_name required | string name of Snapshot |
Accepted
Authentication information missing or invalid
Request Forbidden - operation not allowed
Not found
Error occurred
{- "response": {
- "latest_snapshot": "string",
- "snapshots": {
- "property1": {
- "sha1_checksum": "string",
- "created_at": "string",
- "created_at_i": 0,
- "size": 0
}, - "property2": {
- "sha1_checksum": "string",
- "created_at": "string",
- "created_at_i": 0,
- "size": 0
}
}
}
}
Import snapshot into the manager and triggers a reboot for the Configuration to take effect.
Snapshot file
Accepted
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "snapshot": "string",
- "log_lines": [
- "string"
]
}
}
Deploy and manage plugin functionality on the edge of the network with containers
Retrieve status of container system
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "running": true,
- "network": "172.0.20.0/28"
}
}
Configures the container network.
network required | string Subnet CIDR that will be used for the container network. |
Accepted
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "network": "172.0.10.0/28"
}
{- "response": {
- "running": true,
- "network": "172.0.10.0/28"
}
}
Take action on container system
action required | string Enum: "start" "stop" argument to pass |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "action": "stop"
}
{- "response": {
- "running": false,
- "network": "172.0.20.0/28"
}
}
Retrieve IP address list for current container network configuration
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "addresses": [
- {
- "address": "string",
- "status": "string"
}
]
}
}
Get list of existing container system images
uuid | string UUID for Container |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Invalid server state
Error occurred
{- "response": {
- "images": [
- {
- "id": "string",
- "image_name": "string",
- "status": "string",
- "status_msg": "string",
- "import_id": "string",
- "created": "2020-04-18T17:02:11Z",
- "description": "string",
- "tag_name": "string",
- "comment": "string",
- "container_config": {
- "Entrypoint": "string",
- "Dns": "string",
- "OpenStdin": true,
- "StdinOnce": true,
- "AttachStderr": true,
- "AttachStdout": true,
- "AttachStdin": true,
- "Env": { },
- "User": "string",
- "Tty": true,
- "ExposedPorts": { },
- "Memory": 0,
- "MemorySwap": 0,
- "VolumesFrom": "string",
- "Volumes": "string",
- "Cmd": "string",
- "PortSpecs": { },
- "Image": "string",
- "WorkingDir": "string",
- "CpuShares": 0,
- "NetworkDisabled": true,
- "Domainname": "string",
- "OnBuild": "string",
- "Hostname": "string"
}
}
]
}
}
Create new container image
name required | string Name of the image |
url required | string URL of the image file to be imported |
buildurl | string URL of a dockerfile that will be used to build the image |
localbuild | string Local build file to create new image |
localimage | string Local image to tag |
description | string |
Accepted
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "name": "string",
- "url": "string",
- "buildurl": "string",
- "localbuild": "string",
- "localimage": "string",
- "description": "string"
}
{- "response": {
- "status": "Image being uploaded",
- "import_uuid": "3c4faa02b17a15a0776f53e66337a1baa37fffe9afdb7a03a2886bdb25a6b319"
}
}
Edits container image
uuid required | string uuid of resource |
name required | string Name of the image |
description | string Description of the container image |
OK
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "name": "New image name",
- "description": "new image description"
}
{- "response": {
- "uuid": "8a11af14365a57d050c06821f4caa00865461334ca2598ca38d4b4bda9ce3b12",
- "status": "Image updated"
}
}
Delete container image
uuid required | string uuid of resource |
force | boolean Default: false force operation with cleanup |
Accepted
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "uuid": "8a11af14365a57d050c06821f4caa00865461334ca2598ca38d4b4bda9ce3b12",
- "image_deleted": true
}
}
Provides description information for one or all allocated containers
show_all | boolean Default: true Boolean for full list output of containers |
uuid | string UUID for resource |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "containers": [
- {
- "ID": "string",
- "Created": "string",
- "Path": "string",
- "RestartCount": 0,
- "Args": [
- "string"
], - "AppArmorProfile": "string",
- "Config": {
- "Entrypoint": "string",
- "Dns": "string",
- "OpenStdin": true,
- "StdinOnce": true,
- "AttachStderr": true,
- "AttachStdout": true,
- "AttachStdin": true,
- "Env": { },
- "User": "string",
- "Tty": true,
- "ExposedPorts": { },
- "Memory": 0,
- "MemorySwap": 0,
- "VolumesFrom": "string",
- "Volumes": "string",
- "Cmd": "string",
- "PortSpecs": { },
- "Image": "string",
- "WorkingDir": "string",
- "CpuShares": 0,
- "NetworkDisabled": true,
- "Domainname": "string",
- "OnBuild": "string",
- "Hostname": "string"
}, - "State": {
- "Running": true,
- "Pid": 0,
- "ExitCode": 0,
- "StartedAt": "string",
- "FinishedAt": "string",
- "Ghost": true,
- "Dead": true
}, - "Image": "string",
- "NetworkSettings": {
- "Gateway": "string",
- "SandboxID": "string",
- "HairpinMode": true,
- "Bridge": "string",
- "LinkLocalIPv6Address": "string",
- "LinkLocalIPv6PrefixLen": 0,
- "SandboxKey": "string",
- "SecondaryIPAddresses": "string",
- "SecondaryIPv6Addresses": "string",
- "EndpointID": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "MacAddress": "string",
- "PortMapping": { },
- "Ports": { }
}, - "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "Name": "string",
- "Driver": "string",
- "ExecDriver": "string",
- "Volumes": { },
- "VolumesRW": { },
- "HostConfig": { }
}
]
}
}
Create (allocate) a new container or start an existing one
uuid required | string Id of container if present |
image_uuid | string Container image source from which to allocate container |
name | string Name for the allocated container |
ipaddress | string |
description | string |
command | string Command used to run container |
environment | string Command used to run container |
Created
Bad request
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "uuid": "string",
- "image_uuid": "string",
- "name": "string",
- "ipaddress": "string",
- "description": "string",
- "command": "string",
- "environment": "string"
}
{- "response": {
- "uuid": "a0df70a7ae3f52cdf33d8ee1003b7c2c982f9cba018caf29f6be043741044139",
- "container_started": true,
- "ip_address": "198.51.100.3",
- "status": "Running"
}
}
Stops a running container
uuid required | string uuid of resource |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "uuid": "a0df70a7ae3f52cdf33d8ee1003b7c2c982f9cba018caf29f6be043741044139",
- "status": "Stopped"
}
}
Delete a container
uuid required | string uuid of resource |
OK
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "response": {
- "uuid": "afee0b2ce700770581b5f1a80beb01f2a33e35b8f62c43738203a275c70a40f0",
- "container_deleted": true
}
}
Creates a new container image from a running container
uuid required | string uuid of resource |
name required | boolean Name of new image |
description | string |
Created
Authentication information missing or invalid
Request Forbidden - operation not allowed
Error occurred
{- "name": true,
- "description": "string"
}
{- "response": {
- "uuid": "e65dfe85fed9826a0649e241aa7c57f09b0bcb9eef638fec3a7d75cfa368e1b7",
- "name": "app2_version_1.2.3"
}
}
Fetch containers log messages
uuid required | string uuid of resource |
lines required | integer Number of log lines to fetch |
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "uuid": "string",
- "logs": [
- "string"
]
}
}
Create BGP peer connection
endpoint_id required | integer >= 0 ID for IPsec endpoint |
ipaddress required | string IP address of the desired BGP peer. |
asn | integer Autonomous system number assigned to device at ipaddress |
access_list | string List of "in permit CIDR" and/or "out permit CIDR" statements in a string delimited by "\n" |
bgp_password | string String to be agreed upon by both peers as a simple password. |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "ipaddress": "string",
- "asn": 0,
- "access_list": "string",
- "bgp_password": "string"
}
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Get eBGP peer details
endpoint_id required | integer >= 1 ID for IPsec endpoint |
bgp_peer_id required | integer >= 1 ID for BGP peer |
verbose | boolean Default: true True for verbose output |
Accepted
Authentication information missing or invalid
{- "response": {
- "id": 2,
- "ipaddress": "55.55.55.55",
- "asn": 65123,
- "bgp_password": "asdfasdf",
- "access_list": "",
- "add_network_distance": true,
- "add_network_distance_direction": "out",
- "add_network_distance_hops": 0
}
}
Edit BGP peer connection parameters
endpoint_id required | integer >= 0 ID for IPsec endpoint |
bgp_peer_id required | integer >= 0 ID for BGP peer |
ipaddress required | string IP address of the desired BGP peer. |
asn required | integer Autonomous system number assigned to device at ipaddress |
access_list | string List of "in permit CIDR" and/or "out permit CIDR" statements in a string delimited by "\n" |
bgp_password | string String to be agreed upon by both peers as a simple password. |
add_network_distance | boolean Enable network distance for BGP peer |
add_network_distance_direction | string Add distance direction for BGP peer |
add_network_distance_hops | integer Distance metric weight indicating distance in hops for BGP peer |
Accepted
Bad request
Authentication information missing or invalid
Error occurred
{- "ipaddress": "string",
- "asn": 0,
- "access_list": "string",
- "bgp_password": "string",
- "add_network_distance": true,
- "add_network_distance_direction": "string",
- "add_network_distance_hops": 0
}
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Delete BGP Peer connection
endpoint_id required | integer >= 0 ID for IPsec endpoint |
bgp_peer_id required | integer >= 0 ID for BGP peer |
Accepted
Bad request indicating BGP peer does not exist
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 1,
- "name": "EndpointB",
- "ipaddress": "13.53.72.182",
- "pfs": true,
- "ike_version": 2,
- "nat_t_enabled": true,
- "private_ipaddress": "192.0.2.254",
- "extra_config": [ ],
- "tunnels": {
- "3": {
- "id": 3,
- "local_subnet": "172.31.0.0/28",
- "remote_subnet": "192.168.10.0/22",
- "endpoint_id": 1,
- "enabled": true,
- "description": "tunnel description",
- "ping_ipaddress": "",
- "ping_interface": "tun0",
- "ping_interval": null
}
}, - "bgp_peers": { },
- "type": "ipsec",
- "vpn_type": "policy",
- "psk": "testtest"
}
}
Retrieve all Alert integrations (webhooks)
OK
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "id": 0,
- "name": "string",
- "validate_cert": true,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "url": "string",
- "body": "string",
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "events": [
- "string"
]
}
]
}
Define new Webhook integration
name required | string |
url | string |
events | Array of strings Default: ["tunnel_up","tunnel_down"] |
body | string Serialized HTTP Post request body |
validate_cert | boolean |
custom_properties | Array of objects |
headers | Array of objects |
parameters | Array of objects |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "url": "string",
- "events": [
- "tunnel_up",
- "tunnel_down"
], - "body": "string",
- "validate_cert": true,
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
]
}
{- "response": {
- "id": 0,
- "name": "string",
- "validate_cert": true,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "url": "string",
- "body": "string",
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "events": [
- "string"
]
}
}
Retrieve details for single webhook integration
webhook_id required | integer >= 0 ID for webhook integration |
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "name": "string",
- "validate_cert": true,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "url": "string",
- "body": "string",
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "events": [
- "string"
]
}
}
Edit defined webhook integration
webhook_id required | integer >= 0 ID for webhook integration |
name | string |
url | string |
events | Array of strings Default: ["tunnel_up","tunnel_down"] |
body | string Serialized HTTP Post request body |
validate_cert | boolean |
custom_properties | Array of objects |
headers | Array of objects |
parameters | Array of objects |
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "url": "string",
- "events": [
- "tunnel_up",
- "tunnel_down"
], - "body": "string",
- "validate_cert": true,
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
]
}
{- "response": {
- "id": 0,
- "name": "string",
- "validate_cert": true,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "url": "string",
- "body": "string",
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "events": [
- "string"
]
}
}
Delete defined webhook integration
webhook_id required | integer >= 0 ID for webhook integration |
Accepted
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "name": "string",
- "validate_cert": true,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "url": "string",
- "body": "string",
- "custom_properties": [
- {
- "name": "string",
- "value": "string",
- "description": "string"
}
], - "headers": [
- {
- "name": "string",
- "value": "string"
}
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "events": [
- "string"
]
}
}
Retrieve all alerts
OK
Authentication information missing or invalid
Error occurred
{- "response": [
- {
- "id": 0,
- "name": "string",
- "url": "string",
- "enabled": true,
- "webhook_id": 0,
- "template_id": 0,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
Define new alert
name required | string |
url required | string |
webhook_id required | integer |
template_id | integer |
events | Array of strings |
custom_properties | Array of objects |
enabled | boolean Default: true |
Created
Bad request
Authentication information missing or invalid
Error occurred
{- "name": "string",
- "url": "string",
- "webhook_id": 0,
- "template_id": 0,
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
], - "enabled": true
}
{- "response": {
- "id": 0,
- "name": "string",
- "url": "string",
- "enabled": true,
- "webhook_id": 0,
- "template_id": 0,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
Retrieve details for single alert
alert_id required | integer >= 0 ID for Alert definition |
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "name": "string",
- "url": "string",
- "enabled": true,
- "webhook_id": 0,
- "template_id": 0,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
Edit defined alert
alert_id required | integer >= 0 ID for Alert definition |
url | string |
webhook_id | integer |
events | Array of strings |
custom_properties | object |
enabled | boolean Default: true |
OK
Bad request
Authentication information missing or invalid
Error occurred
{- "url": "string",
- "webhook_id": 0,
- "events": [
- "string"
], - "custom_properties": {
- "property1": "string",
- "property2": "string"
}, - "enabled": true
}
{- "response": {
- "id": 0,
- "name": "string",
- "url": "string",
- "enabled": true,
- "webhook_id": 0,
- "template_id": 0,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
Delete defined alert
alert_id required | integer >= 0 ID for Alert definition |
OK
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "name": "string",
- "url": "string",
- "enabled": true,
- "webhook_id": 0,
- "template_id": 0,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
Toggle enabled property on alert
alert_id required | integer >= 0 ID for Alert definition |
Accepted
Authentication information missing or invalid
Error occurred
{- "response": {
- "id": 0,
- "name": "string",
- "url": "string",
- "enabled": true,
- "webhook_id": 0,
- "template_id": 0,
- "created_at": "2020-04-18T17:02:12Z",
- "updated_at": "2020-04-18T17:02:12Z",
- "events": [
- "string"
], - "custom_properties": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
Send test alert for this defined alert
alert_id required | integer >= 0 ID for Alert definition |
Accepted
Authentication information missing or invalid
Error occurred
{- "response": {
- "status": "string",
- "code": "string",
- "message": "string"
}
}