Kong · Capability

Konnect API - Go SDK — Portal Teams

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

Run with Naftiko KongPortal Teams

What You Can Do

GET
Listportalteams — List Teams
/v1/v3/portals/{portalid}/teams
POST
Createportalteam — Create Team
/v1/v3/portals/{portalid}/teams
GET
Getportalteam — Get Team
/v1/v3/portals/{portalid}/teams/{teamid}
PATCH
Updateportalteam — Update Team
/v1/v3/portals/{portalid}/teams/{teamid}
DELETE
Deleteportalteam — Delete Team
/v1/v3/portals/{portalid}/teams/{teamid}

MCP Tools

list-teams

List Teams

read-only idempotent
create-team

Create Team

get-team

Get Team

read-only idempotent
update-team

Update Team

idempotent
delete-team

Delete Team

idempotent

Capability Spec

konnect-platform-portal-teams.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Portal Teams
  description: 'Konnect API - Go SDK — Portal Teams. 5 operations. Lead operation: List Teams. Self-contained Naftiko capability
    covering one Kong business surface.'
  tags:
  - Kong
  - Portal Teams
  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-portal-teams
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Portal Teams business capability. Self-contained, no shared references.
    resources:
    - name: v3-portals-portalId-teams
      path: /v3/portals/{portalId}/teams
      operations:
      - name: listportalteams
        method: GET
        description: List Teams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: object
          description: Filter teams returned in the response.
      - name: createportalteam
        method: POST
        description: Create Team
        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-teams-teamId
      path: /v3/portals/{portalId}/teams/{teamId}
      operations:
      - name: getportalteam
        method: GET
        description: Get Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateportalteam
        method: PATCH
        description: Update Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteportalteam
        method: DELETE
        description: Delete Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-portal-teams-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Portal Teams. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/portals/{portalid}/teams
      name: v3-portals-portalid-teams
      description: REST surface for v3-portals-portalId-teams.
      operations:
      - method: GET
        name: listportalteams
        description: List Teams
        call: konnect-platform-portal-teams.listportalteams
        with:
          filter: rest.filter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createportalteam
        description: Create Team
        call: konnect-platform-portal-teams.createportalteam
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/portals/{portalid}/teams/{teamid}
      name: v3-portals-portalid-teams-teamid
      description: REST surface for v3-portals-portalId-teams-teamId.
      operations:
      - method: GET
        name: getportalteam
        description: Get Team
        call: konnect-platform-portal-teams.getportalteam
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateportalteam
        description: Update Team
        call: konnect-platform-portal-teams.updateportalteam
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteportalteam
        description: Delete Team
        call: konnect-platform-portal-teams.deleteportalteam
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-portal-teams-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Portal Teams. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-teams
      description: List Teams
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portal-teams.listportalteams
      with:
        filter: tools.filter
      outputParameters:
      - type: object
        mapping: $.
    - name: create-team
      description: Create Team
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: konnect-platform-portal-teams.createportalteam
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-team
      description: Get Team
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-portal-teams.getportalteam
      outputParameters:
      - type: object
        mapping: $.
    - name: update-team
      description: Update Team
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-portal-teams.updateportalteam
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-team
      description: Delete Team
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-portal-teams.deleteportalteam
      outputParameters:
      - type: object
        mapping: $.