Kong · Capability

Konnect API - Go SDK — Portals

Konnect API - Go SDK — Portals. 5 operations. Lead operation: List Portals. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongPortals

What You Can Do

GET
Listportals — List Portals
/v1/v3/portals
POST
Createportal — Create Portal
/v1/v3/portals
GET
Getportal — Get a Portal
/v1/v3/portals/{portalid}
PATCH
Updateportal — Update Portal
/v1/v3/portals/{portalid}
DELETE
Deleteportal — Delete Portal
/v1/v3/portals/{portalid}

MCP Tools

list-portals

List Portals

read-only idempotent
create-portal

Create Portal

get-portal

Get a Portal

read-only idempotent
update-portal

Update Portal

idempotent
delete-portal

Delete Portal

idempotent

Capability Spec

konnect-platform-portals.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Portals
  description: 'Konnect API - Go SDK — Portals. 5 operations. Lead operation: List Portals. Self-contained Naftiko capability
    covering one Kong business surface.'
  tags:
  - Kong
  - Portals
  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
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Portals business capability. Self-contained, no shared references.
    resources:
    - name: v3-portals
      path: /v3/portals
      operations:
      - name: listportals
        method: GET
        description: List Portals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filter portals returned in the response.
      - name: createportal
        method: POST
        description: Create Portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v3-portals-portalId
      path: /v3/portals/{portalId}
      operations:
      - name: getportal
        method: GET
        description: Get a Portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateportal
        method: PATCH
        description: Update Portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteportal
        method: DELETE
        description: Delete Portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: force
          in: query
          type: string
          description: 'If true, the portal will be deleted, automatically deleting all API publications. If the force param
            is not set, the deletion will only succeed if there are no '
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-portals-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Portals. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/portals
      name: v3-portals
      description: REST surface for v3-portals.
      operations:
      - method: GET
        name: listportals
        description: List Portals
        call: konnect-platform-portals.listportals
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createportal
        description: Create Portal
        call: konnect-platform-portals.createportal
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/portals/{portalid}
      name: v3-portals-portalid
      description: REST surface for v3-portals-portalId.
      operations:
      - method: GET
        name: getportal
        description: Get a Portal
        call: konnect-platform-portals.getportal
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateportal
        description: Update Portal
        call: konnect-platform-portals.updateportal
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteportal
        description: Delete Portal
        call: konnect-platform-portals.deleteportal
        with:
          force: rest.force
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-portals-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Portals. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-portals
      description: List Portals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portals.listportals
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: create-portal
      description: Create Portal
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: konnect-platform-portals.createportal
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-portal
      description: Get a Portal
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portals.getportal
      outputParameters:
      - type: object
        mapping: $.
    - name: update-portal
      description: Update Portal
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-portals.updateportal
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-portal
      description: Delete Portal
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-portals.deleteportal
      with:
        force: tools.force
      outputParameters:
      - type: object
        mapping: $.