WSO2 · Capability

WSO2 API Manager - Admin — Deny Policy (Individual)

WSO2 API Manager - Admin — Deny Policy (Individual). 3 operations. Lead operation: Get a Deny Policy. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Deny Policy (Individual)

What You Can Do

GET
Get — Get a Deny Policy
/v1/throttling/deny-policy/{conditionid}
DELETE
Delete — Delete a Deny Policy
/v1/throttling/deny-policy/{conditionid}
PATCH
Patch — Update a Deny Policy
/v1/throttling/deny-policy/{conditionid}

MCP Tools

get-deny-policy

Get a Deny Policy

read-only idempotent
delete-deny-policy

Delete a Deny Policy

idempotent
update-deny-policy

Update a Deny Policy

idempotent

Capability Spec

admin-deny-policy-individual.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Deny Policy (Individual)
  description: 'WSO2 API Manager - Admin — Deny Policy (Individual). 3 operations. Lead operation: Get a Deny Policy. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Deny Policy (Individual)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-deny-policy-individual
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Deny Policy (Individual) business capability. Self-contained, no shared references.
    resources:
    - name: throttling-deny-policy-conditionId
      path: /throttling/deny-policy/{conditionId}
      operations:
      - name: get
        method: GET
        description: Get a Deny Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Delete a Deny Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Update a Deny Policy
        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-deny-policy-individual-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Deny Policy (Individual). One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/throttling/deny-policy/{conditionid}
      name: throttling-deny-policy-conditionid
      description: REST surface for throttling-deny-policy-conditionId.
      operations:
      - method: GET
        name: get
        description: Get a Deny Policy
        call: admin-deny-policy-individual.get
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete a Deny Policy
        call: admin-deny-policy-individual.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Update a Deny Policy
        call: admin-deny-policy-individual.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-deny-policy-individual-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Deny Policy (Individual). One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-deny-policy
      description: Get a Deny Policy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-deny-policy-individual.get
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-deny-policy
      description: Delete a Deny Policy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: admin-deny-policy-individual.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: update-deny-policy
      description: Update a Deny Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-deny-policy-individual.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.