Kong · Capability

Kong Enterprise Admin API — RBACUserRoles

Kong Enterprise Admin API — RBACUserRoles. 2 operations. Lead operation: Delete a RBAC User Role. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongRBACUserRoles

What You Can Do

DELETE
Deleterbacuserrole — Delete a RBAC User Role
/v1/{workspace}/rbac/users/{rbacuseridfornestedentities}/roles
POST
Createrbacuserrole — Create a new RBAC User Role
/v1/{workspace}/rbac/users/{rbacuseridfornestedentities}/roles

MCP Tools

delete-rbac-user-role

Delete a RBAC User Role

idempotent
create-new-rbac-user-role

Create a new RBAC User Role

Capability Spec

gateway-admin-rbacuserroles.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kong Enterprise Admin API — RBACUserRoles
  description: 'Kong Enterprise Admin API — RBACUserRoles. 2 operations. Lead operation: Delete a RBAC User Role. Self-contained
    Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - RBACUserRoles
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: gateway-admin-rbacuserroles
    baseUri: ''
    description: Kong Enterprise Admin API — RBACUserRoles business capability. Self-contained, no shared references.
    resources:
    - name: workspace-rbac-users-RBACUserIdForNestedEntities-roles
      path: /{workspace}/rbac/users/{RBACUserIdForNestedEntities}/roles
      operations:
      - name: deleterbacuserrole
        method: DELETE
        description: Delete a RBAC User Role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: createrbacuserrole
        method: POST
        description: Create a new RBAC User Role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Kong-Admin-Token
      value: '{{env.KONG_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: gateway-admin-rbacuserroles-rest
    port: 8080
    description: REST adapter for Kong Enterprise Admin API — RBACUserRoles. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{workspace}/rbac/users/{rbacuseridfornestedentities}/roles
      name: workspace-rbac-users-rbacuseridfornestedentities-roles
      description: REST surface for workspace-rbac-users-RBACUserIdForNestedEntities-roles.
      operations:
      - method: DELETE
        name: deleterbacuserrole
        description: Delete a RBAC User Role
        call: gateway-admin-rbacuserroles.deleterbacuserrole
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createrbacuserrole
        description: Create a new RBAC User Role
        call: gateway-admin-rbacuserroles.createrbacuserrole
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gateway-admin-rbacuserroles-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kong Enterprise Admin API — RBACUserRoles. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: delete-rbac-user-role
      description: Delete a RBAC User Role
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gateway-admin-rbacuserroles.deleterbacuserrole
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-rbac-user-role
      description: Create a new RBAC User Role
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gateway-admin-rbacuserroles.createrbacuserrole
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.