naftiko: 1.0.0-alpha2 info: label: Kong Enterprise Admin API — RBACUsers description: 'Kong Enterprise Admin API — RBACUsers. 3 operations. Lead operation: Create a new RBAC User. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - RBACUsers 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-rbacusers baseUri: '' description: Kong Enterprise Admin API — RBACUsers business capability. Self-contained, no shared references. resources: - name: workspace-rbac-users path: /{workspace}/rbac/users operations: - name: createrbacuser method: POST description: Create a new RBAC User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workspace-rbac-users-RBACUserId path: /{workspace}/rbac/users/{RBACUserId} operations: - name: deleterbacuser method: DELETE description: Delete a RBAC User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getrbacuser method: GET description: Get a RBAC User outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Kong-Admin-Token value: '{{env.KONG_API_KEY}}' placement: header exposes: - type: rest namespace: gateway-admin-rbacusers-rest port: 8080 description: REST adapter for Kong Enterprise Admin API — RBACUsers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{workspace}/rbac/users name: workspace-rbac-users description: REST surface for workspace-rbac-users. operations: - method: POST name: createrbacuser description: Create a new RBAC User call: gateway-admin-rbacusers.createrbacuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{workspace}/rbac/users/{rbacuserid} name: workspace-rbac-users-rbacuserid description: REST surface for workspace-rbac-users-RBACUserId. operations: - method: DELETE name: deleterbacuser description: Delete a RBAC User call: gateway-admin-rbacusers.deleterbacuser outputParameters: - type: object mapping: $. - method: GET name: getrbacuser description: Get a RBAC User call: gateway-admin-rbacusers.getrbacuser outputParameters: - type: object mapping: $. - type: mcp namespace: gateway-admin-rbacusers-mcp port: 9090 transport: http description: MCP adapter for Kong Enterprise Admin API — RBACUsers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-rbac-user description: Create a new RBAC User hints: readOnly: false destructive: false idempotent: false call: gateway-admin-rbacusers.createrbacuser with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-rbac-user description: Delete a RBAC User hints: readOnly: false destructive: true idempotent: true call: gateway-admin-rbacusers.deleterbacuser outputParameters: - type: object mapping: $. - name: get-rbac-user description: Get a RBAC User hints: readOnly: true destructive: false idempotent: true call: gateway-admin-rbacusers.getrbacuser outputParameters: - type: object mapping: $.