Akamai · Capability

Akamai: EdgeWorkers API — Deactivations

Akamai: EdgeWorkers API — Deactivations. 3 operations. Lead operation: Akamai Deactivate an EdgeWorker Version. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiDeactivations

What You Can Do

POST
Postdeactivations — Akamai Deactivate an EdgeWorker Version
/v1/ids/{edgeworkerid}/deactivations
GET
Getdeactivations — Akamai List Deactivations
/v1/ids/{edgeworkerid}/deactivations
GET
Getdeactivation — Akamai Get a Deactivation
/v1/ids/{edgeworkerid}/deactivations/{deactivationid}

MCP Tools

akamai-deactivate-edgeworker-version

Akamai Deactivate an EdgeWorker Version

akamai-list-deactivations

Akamai List Deactivations

read-only idempotent
akamai-get-deactivation

Akamai Get a Deactivation

read-only idempotent

Capability Spec

edgeworkers-deactivations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: EdgeWorkers API — Deactivations'
  description: 'Akamai: EdgeWorkers API — Deactivations. 3 operations. Lead operation: Akamai Deactivate an EdgeWorker Version.
    Self-contained Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Deactivations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: edgeworkers-deactivations
    baseUri: https://{hostname}/edgeworkers/v1
    description: 'Akamai: EdgeWorkers API — Deactivations business capability. Self-contained, no shared references.'
    resources:
    - name: ids-edgeWorkerId-deactivations
      path: /ids/{edgeWorkerId}/deactivations
      operations:
      - name: postdeactivations
        method: POST
        description: Akamai Deactivate an EdgeWorker Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getdeactivations
        method: GET
        description: Akamai List Deactivations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: version
          in: query
          type: string
          description: Unique identifier for a specific EdgeWorker version.
        - 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: ids-edgeWorkerId-deactivations-deactivationId
      path: /ids/{edgeWorkerId}/deactivations/{deactivationId}
      operations:
      - name: getdeactivation
        method: GET
        description: Akamai Get a Deactivation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: edgeworkers-deactivations-rest
    port: 8080
    description: 'REST adapter for Akamai: EdgeWorkers API — Deactivations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.'
    resources:
    - path: /v1/ids/{edgeworkerid}/deactivations
      name: ids-edgeworkerid-deactivations
      description: REST surface for ids-edgeWorkerId-deactivations.
      operations:
      - method: POST
        name: postdeactivations
        description: Akamai Deactivate an EdgeWorker Version
        call: edgeworkers-deactivations.postdeactivations
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getdeactivations
        description: Akamai List Deactivations
        call: edgeworkers-deactivations.getdeactivations
        with:
          version: rest.version
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ids/{edgeworkerid}/deactivations/{deactivationid}
      name: ids-edgeworkerid-deactivations-deactivationid
      description: REST surface for ids-edgeWorkerId-deactivations-deactivationId.
      operations:
      - method: GET
        name: getdeactivation
        description: Akamai Get a Deactivation
        call: edgeworkers-deactivations.getdeactivation
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edgeworkers-deactivations-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: EdgeWorkers API — Deactivations. One tool per consumed operation, routed inline
      through this capability''s consumes block.'
    tools:
    - name: akamai-deactivate-edgeworker-version
      description: Akamai Deactivate an EdgeWorker Version
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: edgeworkers-deactivations.postdeactivations
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-list-deactivations
      description: Akamai List Deactivations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgeworkers-deactivations.getdeactivations
      with:
        version: tools.version
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-get-deactivation
      description: Akamai Get a Deactivation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgeworkers-deactivations.getdeactivation
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.