Akamai · Capability

Akamai: Network Lists API — Elements

Akamai: Network Lists API — Elements. 2 operations. Lead operation: Akamai Add an Element. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiElements

What You Can Do

PUT
Putnetworklistelements — Akamai Add an Element
/v1/network-lists/{networklistid}/elements
DELETE
Deletenetworklistelements — Akamai Remove an Element
/v1/network-lists/{networklistid}/elements

MCP Tools

akamai-add-element

Akamai Add an Element

idempotent
akamai-remove-element

Akamai Remove an Element

idempotent

Capability Spec

network-lists-elements.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: Network Lists API — Elements'
  description: 'Akamai: Network Lists API — Elements. 2 operations. Lead operation: Akamai Add an Element. Self-contained
    Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Elements
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: network-lists-elements
    baseUri: https://{hostname}/network-list/v2
    description: 'Akamai: Network Lists API — Elements business capability. Self-contained, no shared references.'
    resources:
    - name: network-lists-networkListId-elements
      path: /network-lists/{networkListId}/elements
      operations:
      - name: putnetworklistelements
        method: PUT
        description: Akamai Add an Element
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: element
          in: query
          type: string
          description: Specifies the element to add to the network list.
          required: true
        - name: accountSwitchKey
          in: query
          type: string
          description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-w
      - name: deletenetworklistelements
        method: DELETE
        description: Akamai Remove an Element
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: element
          in: query
          type: string
          description: Specifies the element to add to the network list.
          required: true
        - name: accountSwitchKey
          in: query
          type: string
          description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-w
  exposes:
  - type: rest
    namespace: network-lists-elements-rest
    port: 8080
    description: 'REST adapter for Akamai: Network Lists API — Elements. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.'
    resources:
    - path: /v1/network-lists/{networklistid}/elements
      name: network-lists-networklistid-elements
      description: REST surface for network-lists-networkListId-elements.
      operations:
      - method: PUT
        name: putnetworklistelements
        description: Akamai Add an Element
        call: network-lists-elements.putnetworklistelements
        with:
          element: rest.element
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletenetworklistelements
        description: Akamai Remove an Element
        call: network-lists-elements.deletenetworklistelements
        with:
          element: rest.element
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: network-lists-elements-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: Network Lists API — Elements. One tool per consumed operation, routed inline through
      this capability''s consumes block.'
    tools:
    - name: akamai-add-element
      description: Akamai Add an Element
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: network-lists-elements.putnetworklistelements
      with:
        element: tools.element
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-remove-element
      description: Akamai Remove an Element
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: network-lists-elements.deletenetworklistelements
      with:
        element: tools.element
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.