Kong · Capability

Konnect API - Go SDK — Portals IP Allow List

Konnect API - Go SDK — Portals IP Allow List. 5 operations. Lead operation: Create an IP allow list for a portal. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongPortals IP Allow List

What You Can Do

POST
Createportalipallowlist — Create an IP allow list for a portal
/v1/v3/portals/{portalid}/ip-allow-list
GET
Listportalipallowlist — List the IP allow list for portal
/v1/v3/portals/{portalid}/ip-allow-list
PUT
Putportalipallowlist — Replace an IP allow list for a portal
/v1/v3/portals/{portalid}/ip-allow-list/{id}
PATCH
Updateportalipallowlist — Update an IP allow list for a portal
/v1/v3/portals/{portalid}/ip-allow-list/{id}
DELETE
Deleteportalipallowlist — Delete an IP allow list from a portal
/v1/v3/portals/{portalid}/ip-allow-list/{id}

MCP Tools

create-ip-allow-list-portal

Create an IP allow list for a portal

read-only
list-ip-allow-list-portal

List the IP allow list for portal

read-only idempotent
replace-ip-allow-list-portal

Replace an IP allow list for a portal

idempotent
update-ip-allow-list-portal

Update an IP allow list for a portal

idempotent
delete-ip-allow-list-portal

Delete an IP allow list from a portal

idempotent

Capability Spec

konnect-platform-portals-ip-allow-list.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Portals IP Allow List
  description: 'Konnect API - Go SDK — Portals IP Allow List. 5 operations. Lead operation: Create an IP allow list for a
    portal. Self-contained Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - Portals IP Allow List
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: konnect-platform-portals-ip-allow-list
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Portals IP Allow List business capability. Self-contained, no shared references.
    resources:
    - name: v3-portals-portalId-ip-allow-list
      path: /v3/portals/{portalId}/ip-allow-list
      operations:
      - name: createportalipallowlist
        method: POST
        description: Create an IP allow list for a portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listportalipallowlist
        method: GET
        description: List the IP allow list for portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v3-portals-portalId-ip-allow-list-id
      path: /v3/portals/{portalId}/ip-allow-list/{id}
      operations:
      - name: putportalipallowlist
        method: PUT
        description: Replace an IP allow list for a portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: updateportalipallowlist
        method: PATCH
        description: Update an IP allow list for a portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteportalipallowlist
        method: DELETE
        description: Delete an IP allow list from a portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-portals-ip-allow-list-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Portals IP Allow List. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v3/portals/{portalid}/ip-allow-list
      name: v3-portals-portalid-ip-allow-list
      description: REST surface for v3-portals-portalId-ip-allow-list.
      operations:
      - method: POST
        name: createportalipallowlist
        description: Create an IP allow list for a portal
        call: konnect-platform-portals-ip-allow-list.createportalipallowlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listportalipallowlist
        description: List the IP allow list for portal
        call: konnect-platform-portals-ip-allow-list.listportalipallowlist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/portals/{portalid}/ip-allow-list/{id}
      name: v3-portals-portalid-ip-allow-list-id
      description: REST surface for v3-portals-portalId-ip-allow-list-id.
      operations:
      - method: PUT
        name: putportalipallowlist
        description: Replace an IP allow list for a portal
        call: konnect-platform-portals-ip-allow-list.putportalipallowlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateportalipallowlist
        description: Update an IP allow list for a portal
        call: konnect-platform-portals-ip-allow-list.updateportalipallowlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteportalipallowlist
        description: Delete an IP allow list from a portal
        call: konnect-platform-portals-ip-allow-list.deleteportalipallowlist
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-portals-ip-allow-list-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Portals IP Allow List. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: create-ip-allow-list-portal
      description: Create an IP allow list for a portal
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: konnect-platform-portals-ip-allow-list.createportalipallowlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-ip-allow-list-portal
      description: List the IP allow list for portal
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portals-ip-allow-list.listportalipallowlist
      outputParameters:
      - type: object
        mapping: $.
    - name: replace-ip-allow-list-portal
      description: Replace an IP allow list for a portal
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-portals-ip-allow-list.putportalipallowlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-ip-allow-list-portal
      description: Update an IP allow list for a portal
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-portals-ip-allow-list.updateportalipallowlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-ip-allow-list-portal
      description: Delete an IP allow list from a portal
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-portals-ip-allow-list.deleteportalipallowlist
      outputParameters:
      - type: object
        mapping: $.