VAST Data vpntunnels API

The vpntunnels API from VAST Data — 3 operation(s) for vpntunnels.

Operations 5

GET /vpntunnels/ List VPN Tunnels #
POST /vpntunnels/ Create VPN Tunnel #
DELETE /vpntunnels/delete_all/ Close and Delete all available VPN Tunnels #
DELETE /vpntunnels/{id}/ Close and Delete VPN Tunnel #
GET /vpntunnels/{id}/ Return Details of a VPN Tunnel #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vastdata-vpntunnels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vastdata-vpntunnels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: VAST Management API definition
  title: VAST API Swagger Schema activedirectory Vpntunnels API
  version: '1.0'
security:
- ApiToken: []
tags:
- name: vpntunnels
paths:
  /vpntunnels/:
    get:
      description: This endpoint lists VPN tunnels.
      operationId: vpntunnels_list
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/VpnTunnel'
                title: Vpn Tunnels
                type: array
          description: List of VPN tunnels
      summary: List VPN Tunnels
      tags:
      - vpntunnels
    post:
      description: This endpoint creates a VPN tunnel.
      operationId: vpntunnels_create
      requestBody:
        content:
          application/json:
            schema:
              properties:
                cnode:
                  description: The ID of one CNode. The tunnel will enable the support engineer to open an SSH session to the specified CNode.
                  type: integer
                password:
                  description: The password for the specified VAST-Support tunnel service user
                  type: string
                ttl:
                  description: The duration to allow the tunnel to remain open, in minutes
                  type: integer
                username:
                  description: A username for the VAST-Support tunnel service
                  type: string
                vpn_config:
                  description: The content of a VAST-support VPN configuration file
                  type: string
              required:
              - cnode
              - username
              - password
              - ttl
              type: object
        x-originalParamName: VpnTunnelCreateParams
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VpnTunnel'
          description: ''
      summary: Create VPN Tunnel
      tags:
      - vpntunnels
  /vpntunnels/delete_all/:
    delete:
      description: This endpoint closes and deletes all open VPN tunnels
      operationId: vpntunnels_delete_all
      responses:
        '204':
          description: ''
      summary: Close and Delete all available VPN Tunnels
      tags:
      - vpntunnels
  /vpntunnels/{id}/:
    delete:
      description: This endpoint closes and deletes an open VPN tunnel
      operationId: vpntunnels_delete
      parameters:
      - description: VPN tunnel ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: ''
      summary: Close and Delete VPN Tunnel
      tags:
      - vpntunnels
    get:
      description: This endpoint returns details of a VPN tunnel.
      operationId: vpntunnels_read
      parameters:
      - description: VPN tunnel ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VpnTunnel'
          description: ''
      summary: Return Details of a VPN Tunnel
      tags:
      - vpntunnels
components:
  schemas:
    VpnTunnel:
      properties:
        cnode:
          type: integer
        cnode_id:
          description: The node id on which the tunnel is running
          type: integer
          x-cli-header: CNode-ID
        cnode_ip:
          description: The host ip adress on which the tunnel is running
          type: string
          x-cli-header: CNode-IP
        created_at:
          description: The addresses of the ip tunnels
          format: date-time
          type: string
          x-cli-header: Creation-Date
          x-format: datetime2display
        hostname:
          description: The hostname on which the tunnel is running
          type: string
        id:
          description: The tunnel id
          type: integer
          x-cli-header: ID
        tunnel_end_date:
          description: The addresses of the ip tunnels
          format: date-time
          type: string
          x-cli-header: End-Date
          x-format: datetime2display
        tunnels_ips:
          description: The addresses of the ip tunnels
          type: string
          x-cli-header: Tunnel-IP
      type: object
  securitySchemes:
    ApiToken:
      description: Send current valid API token in an Authorization header with format Api-Token <token>.
      in: header
      name: ApiToken
      type: apiKey
    basicAuth:
      description: Basic authentication using VMS user name and password
      scheme: basic
      type: http