Web Methods Ports API

The Ports API from Web Methods — 7 operation(s) for ports.

GitHub OpenAPI

Operations 15

GET /ports Get ports #
POST /ports Create port #
PUT /ports Update port #
DELETE /ports Delete port #
GET /ports/primary Get primary port #
PUT /ports/primary Set primary port #
PUT /ports/enable Enable port #
PUT /ports/disable Disable port #
GET /ports/{listenerKey} Get port #
GET /ports/{listenerKey}/accessMode Get port access mode #
POST /ports/{listenerKey}/accessMode Create access mode #
PUT /ports/{listenerKey}/accessMode Update access mode #
GET /ports/{listenerKey}/ipAccessMode Get IP access mode #
POST /ports/{listenerKey}/ipAccessMode Create IP access mode #
PUT /ports/{listenerKey}/ipAccessMode Updated IP access mode #

Specifications

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/web-methods:web-methods-ports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

web-methods-ports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Ports API
  version: '10.11'
  description: 'Operations tagged Ports across 2 of this provider''s published API definitions: apigateway-PortManagement.json, web-methods-api-gateway-portmanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /rest/apigateway
tags:
- name: Ports
paths:
  /ports:
    get:
      description: The GET method retrieves port configurations
      operationId: getPorts
      parameters:
      - name: pkg
        in: query
        description: The pkg parameter points to the IS package the port is pointing to. The pkg of port configurations is restricted to the package WmRoot.
        required: false
        schema:
          type: string
      - name: listenerKey
        in: query
        description: The listenerKey parameter uniquely identifies a port configuration within a package.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Port information retrieved successfully. The response body holds the requested port configurations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Listeners'
        '400':
          description: Bad request, the retrieval of the port configuration information has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provide credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      tags:
      - Ports
      summary: Get ports
      x-summary-source: derived
    post:
      description: The POST method creates a new port configuration
      operationId: createPort
      responses:
        '201':
          description: Port configuration has been created successfully. The response body contains the newly created port configuration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Port'
        '400':
          description: Bad request, the creation of the port configuration has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Port'
      tags:
      - Ports
      summary: Create port
      x-summary-source: derived
    put:
      description: The PUT method updates an existing port configuration. Updating an enabled port implies that it is disabled and enabled again.
      operationId: updatePort
      responses:
        '200':
          description: 'Port configuration was updated successfully. The response body holds the updated port configuration. '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Port'
        '400':
          description: Bad request, the update of the port configuration has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Port'
      tags:
      - Ports
      summary: Update port
      x-summary-source: derived
    delete:
      description: The DELETE method removes a port configuration
      operationId: deletePort
      parameters:
      - name: pkg
        in: query
        description: The pkg parameter points to the IS package the port is pointing to. The pkg of port configurations is restricted to the package WmRoot.
        required: false
        schema:
          type: string
      - name: listenerKey
        in: query
        description: The listenerKey parameter uniquely identifies a port configuration within a package.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Port configuration has been successfully removed and is no longer available.
        '400':
          description: Bad request, the deletion of the port configuration has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      tags:
      - Ports
      summary: Delete port
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
  /ports/primary:
    get:
      description: The GET method retrieves the definition of the primary port.
      operationId: getPrimaryPort
      responses:
        '200':
          description: The primary port configuration has been successfully retrieved. The response body references the primary port.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      tags:
      - Ports
      summary: Get primary port
      x-summary-source: derived
    put:
      description: The PUT method updates the primary port configuration to the referenced existing port configuration.
      operationId: setPrimaryPort
      responses:
        '200':
          description: The primary port configuration has been successfully updated. The response body references the updated primary port.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortReference'
        '400':
          description: Bad request, the configuration of the primary port has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortReference'
        description: The request body references the existing port configuration to be defined as the primary port.
      tags:
      - Ports
      summary: Set primary port
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
  /ports/enable:
    put:
      description: The PUT enables the referenced port configuration. Only enabled ports can be contacted and serve requests.
      operationId: enablePort
      responses:
        '200':
          description: Port has been enabled successfully. The response body references the enabled port.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortReference'
        '400':
          description: Bad request, port enabling has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortReference'
        description: The request body references the existing port configuration to be enabled.
      tags:
      - Ports
      summary: Enable port
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
  /ports/disable:
    put:
      description: The PUT disables the referenced port configuration. A disabled port can not be contacted.
      operationId: disablePort
      responses:
        '200':
          description: Port has been enabled successfully. The response body references the enabled port.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '400':
          description: Bad request, port disabling has failed. The message in the response body provides further details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provide credentials are invalid or the user does not have the required privileges.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortReference'
        description: The request body references the existing port configuration to be disabled.
        required: true
      tags:
      - Ports
      summary: Disable port
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
  /ports/{listenerKey}:
    get:
      description: The GET method retrieves an API Gateway port configuration
      operationId: getPort
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Port information retrieved successfully. The response body holds the requested port configuration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Port'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      tags:
      - Ports
      summary: Get port
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
  /ports/{listenerKey}/accessMode:
    get:
      description: The GET method retrieves the accessMode for an API Gateway port configuration
      operationId: getPortAccessMode
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Access mode information retrieved successfully. The response body holds the requested access mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Port'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      tags:
      - Ports
      summary: Get port access mode
      x-summary-source: derived
    post:
      description: The POST defines the access mode for an API Gateway port configuration
      operationId: createAccessMode
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Access mode information updated successfully. The response body holds the updated access mode information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessModeType'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccessModeType'
        description: The request contains the access mode information.
        required: true
      tags:
      - Ports
      summary: Create access mode
      x-summary-source: derived
    put:
      description: The PUT updates the services for the access mode for an API Gateway port configuration
      operationId: updateAccessMode
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Access mode information updated successfully. The response body holds the updated access mode information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessModeServices'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccessModeServices'
        description: The request contains the updated services access mode information.
        required: true
      tags:
      - Ports
      summary: Update access mode
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
  /ports/{listenerKey}/ipAccessMode:
    get:
      description: The GET method retrieves the ipAccessMode for an API Gateway port configuration
      operationId: getIPAccessMode
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: IP access mode information retrieved successfully. The response body holds the updated IP access mode information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPAccessMode'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAccessMode'
        description: The request contains the IP access mode information.
        required: true
      tags:
      - Ports
      summary: Get IP access mode
      x-summary-source: derived
    post:
      description: The POST creates the ipAccessMode for an API Gateway port configuration
      operationId: createIPAccessMode
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: IP access mode information updated successfully. The response body holds the requested IP access mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPAccessModeType'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAccessModeType'
        description: The request contains the ip access mode type information.
        required: true
      tags:
      - Ports
      summary: Create IP access mode
      x-summary-source: derived
    put:
      description: The PUT updates the ipAccessMode for an API Gateway port configuration
      operationId: updatedIPAccessMode
      parameters:
      - name: listenerKey
        in: path
        description: The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: IP access mode information updated successfully. The response body holds the requested IP access mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPAccessModeHostsList'
        '404':
          description: Resorce not found, the specified port configuration can be found in the WmRoot package.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
        '401':
          description: Authentication failed, the provided credentials are invalid or the user does not have the required privileges.
        '500':
          description: Server error, the API Gateway encountered an internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageWithPortReference'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAccessModeHostsList'
        description: The request contains update the ip access mode hosts list information.
        required: true
      tags:
      - Ports
      summary: Updated IP access mode
      x-summary-source: derived
    servers:
    - url: /rest/apigateway
components:
  schemas:
    PortReference:
      type: object
      properties:
        listenerKey:
          type: string
        pkg:
          type: string
    IPAccessMode:
      type: object
      properties:
        ipAccessModeType:
          $ref: '#/components/schemas/IPAccessModeType'
        ipAccessModeHostsList:
          $ref: '#/components/schemas/IPAccessModeHostsList'
    AccessModeServices:
      type: object
      properties:
        services:
          type: array
          items:
            type: string
    IPAccessModeHostsList:
      type: object
      properties:
        hostsList:
          type: array
          items:
            type: string
    AccessModeType:
      type: object
      properties:
        accessMode:
          type: string
    IPAccessModeType:
      type: object
      properties:
        ipAccessType:
          type: string
    Listeners:
      type: object
      properties:
        listeners:
          type: array
          items:
            $ref: '#/components/schemas/Port'
    MessageWithPortReference:
      type: object
      properties:
        listenerKey:
          type: string
        pkg:
          type: string
        message:
          type: string
    Port:
      type: object
      properties:
        accessMode:
          type: string
        clientAuth:
          type: string
        configURL:
          type: string
        curDelay:
          type: string
        enabled:
          type: string
        factoryKey:
          type: string
        hasAccessList:
          type: string
        hasIPAccessList:
          type: string
        hostAccessMode:
          type: string
        hostAllow:
          type: array
          items:
            type: string
        hostDeny:
          type: array
          items:
            type: string
        idProvider:
          type: object
        internalPort:
          type: integer
          format: int32
        ipAccessMode:
          type: string
        jsseEnabledProtocols:
          type: object
        keepAliveTimeout:
          type: string
        key:
          type: string
        listenerType:
          type: string
        listening:
          type: string
        maxQueue:
          type: string
        maxThread:
          type: string
        minThread:
          type: string
        pkg:
          type: string
        port:
          type: integer
          format: int32
        portAlias:
          type: string
        portDescription:
          type: string
        protocol:
          type: string
        provider:
          type: string
        ssl:
          type: string
        status:
          type: string
        stepsize:
          type: string
        suspended:
          type: string
        threadPool:
          type: string
        threadPriority:
          type: string
        uniqueID:
          type: string
        usedThreadCount:
          type: string
x-refined-from:
- apigateway-PortManagement.json
- web-methods-api-gateway-portmanagement-openapi.yml