Skip to main content
POST
/
tunnel
cURL
curl --request POST \
  --url https://api.ck-itsolutions.nl/v1/tunnel \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ips": "<array>",
  "endpoint": "<string>",
  "type": "<string>",
  "locations": "<array>"
}
'
{}

Authorizations

x-api-key
string
header
required

Body

application/json

Plant to add to the store

ips
array
required

IP subnet(s) to route through the tunnel.

endpoint
string
required

Endpoint for the new created user.

type
string
required

Tunnel type. Allowed options: GRE, Geneve.

locations
array

Advanced: Specify locations to create a tunnel only on routers at the specified locations. See DDoS Mitigation overview for available locations.

Response

Returns newly created tunnel with tunnel information as json.

The response is of type object.