Webex · Capability

Webex Admin — Licenses

Webex Admin — Licenses. 3 operations. Lead operation: List Licenses. Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexLicenses

What You Can Do

GET
Listlicenses — List Licenses
/v1/licenses
PATCH
Assignlicensestousers — Assign Licenses to Users
/v1/licenses/users
GET
Getlicensedetails — Get License Details
/v1/licenses/{licenseid}

MCP Tools

list-licenses

List Licenses

read-only idempotent
assign-licenses-users

Assign Licenses to Users

idempotent
get-license-details

Get License Details

read-only idempotent

Capability Spec

admin-licenses.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Admin — Licenses
  description: 'Webex Admin — Licenses. 3 operations. Lead operation: List Licenses. Self-contained Naftiko capability covering
    one Webex business surface.'
  tags:
  - Webex
  - Licenses
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBEX_API_KEY: WEBEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-licenses
    baseUri: ''
    description: Webex Admin — Licenses business capability. Self-contained, no shared references.
    resources:
    - name: licenses
      path: /licenses
      operations:
      - name: listlicenses
        method: GET
        description: List Licenses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: query
          type: string
          description: List licenses for this organization.
    - name: licenses-users
      path: /licenses/users
      operations:
      - name: assignlicensestousers
        method: PATCH
        description: Assign Licenses to Users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: licenses-licenseId
      path: /licenses/{licenseId}
      operations:
      - name: getlicensedetails
        method: GET
        description: Get License Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: licenseId
          in: path
          type: string
          description: The unique identifier for the license.
          required: true
        - name: includeAssignedTo
          in: query
          type: string
          description: The type of object to whom the license is assigned to.
        - name: next
          in: query
          type: string
          description: List the next set of users. Applicable only if `includeAssignedTo` is populated.
        - name: limit
          in: query
          type: number
          description: A limit on the number of users to be returned in the response. Applicable only if `includeAssignedTo`
            is populated. limit cannot be more than 300.
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-licenses-rest
    port: 8080
    description: REST adapter for Webex Admin — Licenses. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/licenses
      name: licenses
      description: REST surface for licenses.
      operations:
      - method: GET
        name: listlicenses
        description: List Licenses
        call: admin-licenses.listlicenses
        with:
          orgId: rest.orgId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/licenses/users
      name: licenses-users
      description: REST surface for licenses-users.
      operations:
      - method: PATCH
        name: assignlicensestousers
        description: Assign Licenses to Users
        call: admin-licenses.assignlicensestousers
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/licenses/{licenseid}
      name: licenses-licenseid
      description: REST surface for licenses-licenseId.
      operations:
      - method: GET
        name: getlicensedetails
        description: Get License Details
        call: admin-licenses.getlicensedetails
        with:
          licenseId: rest.licenseId
          includeAssignedTo: rest.includeAssignedTo
          next: rest.next
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-licenses-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Admin — Licenses. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-licenses
      description: List Licenses
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-licenses.listlicenses
      with:
        orgId: tools.orgId
      outputParameters:
      - type: object
        mapping: $.
    - name: assign-licenses-users
      description: Assign Licenses to Users
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-licenses.assignlicensestousers
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-license-details
      description: Get License Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-licenses.getlicensedetails
      with:
        licenseId: tools.licenseId
        includeAssignedTo: tools.includeAssignedTo
        next: tools.next
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.