WSO2 · Capability

WSO2 API Manager - Admin — Tenant Config

WSO2 API Manager - Admin — Tenant Config. 2 operations. Lead operation: Export a tenant-Config.. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Tenant Config

What You Can Do

GET
Exporttenantconfig — Export a tenant-Config.
/v1/tenant-config
PUT
Updatetenantconfig — Update a tenant-config.
/v1/tenant-config

MCP Tools

export-tenant-config

Export a tenant-Config.

read-only idempotent
update-tenant-config

Update a tenant-config.

idempotent

Capability Spec

admin-tenant-config.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Tenant Config
  description: 'WSO2 API Manager - Admin — Tenant Config. 2 operations. Lead operation: Export a tenant-Config.. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Tenant Config
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-tenant-config
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Tenant Config business capability. Self-contained, no shared references.
    resources:
    - name: tenant-config
      path: /tenant-config
      operations:
      - name: exporttenantconfig
        method: GET
        description: Export a tenant-Config.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatetenantconfig
        method: PUT
        description: Update a tenant-config.
        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.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-tenant-config-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Tenant Config. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tenant-config
      name: tenant-config
      description: REST surface for tenant-config.
      operations:
      - method: GET
        name: exporttenantconfig
        description: Export a tenant-Config.
        call: admin-tenant-config.exporttenantconfig
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetenantconfig
        description: Update a tenant-config.
        call: admin-tenant-config.updatetenantconfig
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-tenant-config-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Tenant Config. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: export-tenant-config
      description: Export a tenant-Config.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-tenant-config.exporttenantconfig
      outputParameters:
      - type: object
        mapping: $.
    - name: update-tenant-config
      description: Update a tenant-config.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-tenant-config.updatetenantconfig
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.