Kong · Capability

Konnect API - Go SDK — ACLs

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

Run with Naftiko KongACLs

What You Can Do

GET
Listacl — List all ACLs
/v1/v2/control-planes/{controlplaneid}/core-entities/acls
GET
Getacl — Get an ACL
/v1/v2/control-planes/{controlplaneid}/core-entities/acls/{aclid}
GET
Listaclwithconsumer — List all ACLs associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls
POST
Createaclwithconsumer — Create a new ACL associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls
DELETE
Deleteaclwithconsumer — Delete a an ACL associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls/{aclid}
GET
Getaclwithconsumer — Get an ACL associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls/{aclid}
PUT
Upsertaclwithconsumer — Upsert an ACL associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls/{aclid}

MCP Tools

list-all-acls

List all ACLs

read-only idempotent
get-acl

Get an ACL

read-only idempotent
list-all-acls-associated-consumer

List all ACLs associated with a Consumer

read-only idempotent
create-new-acl-associated-consumer

Create a new ACL associated with a Consumer

delete-acl-associated-consumer

Delete a an ACL associated with a Consumer

idempotent
get-acl-associated-consumer

Get an ACL associated with a Consumer

read-only idempotent
upsert-acl-associated-consumer

Upsert an ACL associated with a Consumer

idempotent

Capability Spec

konnect-platform-acls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — ACLs
  description: 'Konnect API - Go SDK — ACLs. 7 operations. Lead operation: List all ACLs. Self-contained Naftiko capability
    covering one Kong business surface.'
  tags:
  - Kong
  - ACLs
  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-acls
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — ACLs business capability. Self-contained, no shared references.
    resources:
    - name: v2-control-planes-controlPlaneId-core-entities-acls
      path: /v2/control-planes/{controlPlaneId}/core-entities/acls
      operations:
      - name: listacl
        method: GET
        description: List all ACLs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-control-planes-controlPlaneId-core-entities-acls-ACLId
      path: /v2/control-planes/{controlPlaneId}/core-entities/acls/{ACLId}
      operations:
      - name: getacl
        method: GET
        description: Get an ACL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti
      path: /v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls
      operations:
      - name: listaclwithconsumer
        method: GET
        description: List all ACLs associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createaclwithconsumer
        method: POST
        description: Create a new ACL associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti
      path: /v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls/{ACLId}
      operations:
      - name: deleteaclwithconsumer
        method: DELETE
        description: Delete a an ACL associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getaclwithconsumer
        method: GET
        description: Get an ACL associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertaclwithconsumer
        method: PUT
        description: Upsert an ACL associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-acls-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — ACLs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/acls
      name: v2-control-planes-controlplaneid-core-entities-acls
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-acls.
      operations:
      - method: GET
        name: listacl
        description: List all ACLs
        call: konnect-platform-acls.listacl
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/acls/{aclid}
      name: v2-control-planes-controlplaneid-core-entities-acls-aclid
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-acls-ACLId.
      operations:
      - method: GET
        name: getacl
        description: Get an ACL
        call: konnect-platform-acls.getacl
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls
      name: v2-control-planes-controlplaneid-core-entities-consumers-consumeridfornestedenti
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti.
      operations:
      - method: GET
        name: listaclwithconsumer
        description: List all ACLs associated with a Consumer
        call: konnect-platform-acls.listaclwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createaclwithconsumer
        description: Create a new ACL associated with a Consumer
        call: konnect-platform-acls.createaclwithconsumer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/acls/{aclid}
      name: v2-control-planes-controlplaneid-core-entities-consumers-consumeridfornestedenti
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti.
      operations:
      - method: DELETE
        name: deleteaclwithconsumer
        description: Delete a an ACL associated with a Consumer
        call: konnect-platform-acls.deleteaclwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getaclwithconsumer
        description: Get an ACL associated with a Consumer
        call: konnect-platform-acls.getaclwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertaclwithconsumer
        description: Upsert an ACL associated with a Consumer
        call: konnect-platform-acls.upsertaclwithconsumer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-acls-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — ACLs. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-all-acls
      description: List all ACLs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-acls.listacl
      outputParameters:
      - type: object
        mapping: $.
    - name: get-acl
      description: Get an ACL
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-acls.getacl
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-acls-associated-consumer
      description: List all ACLs associated with a Consumer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-acls.listaclwithconsumer
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-acl-associated-consumer
      description: Create a new ACL associated with a Consumer
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: konnect-platform-acls.createaclwithconsumer
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-acl-associated-consumer
      description: Delete a an ACL associated with a Consumer
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-acls.deleteaclwithconsumer
      outputParameters:
      - type: object
        mapping: $.
    - name: get-acl-associated-consumer
      description: Get an ACL associated with a Consumer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-acls.getaclwithconsumer
      outputParameters:
      - type: object
        mapping: $.
    - name: upsert-acl-associated-consumer
      description: Upsert an ACL associated with a Consumer
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-acls.upsertaclwithconsumer
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.