APIs.io Engineering Platform Cloudflare API — Magic Site WANs

APIs.io Engineering Platform Cloudflare API — Magic Site WANs. 6 operations. Lead operation: APIs.io Engineering Platform List Site WANs. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformMagic Site WANs

What You Can Do

GET
Magicsitewanslistwans — APIs.io Engineering Platform List Site WANs
/v1/accounts/{account-id}/magic/sites/{site-id}/wans
POST
Magicsitewanscreatewan — APIs.io Engineering Platform Create a new Site WAN
/v1/accounts/{account-id}/magic/sites/{site-id}/wans
DELETE
Magicsitewansdeletewan — APIs.io Engineering Platform Delete Site WAN
/v1/accounts/{account-id}/magic/sites/{site-id}/wans/{wan-id}
GET
Magicsitewanswandetails — APIs.io Engineering Platform Site WAN Details
/v1/accounts/{account-id}/magic/sites/{site-id}/wans/{wan-id}
PATCH
Magicsitewanspatchwan — APIs.io Engineering Platform Patch Site WAN
/v1/accounts/{account-id}/magic/sites/{site-id}/wans/{wan-id}
PUT
Magicsitewansupdatewan — APIs.io Engineering Platform Update Site WAN
/v1/accounts/{account-id}/magic/sites/{site-id}/wans/{wan-id}

MCP Tools

apis-io-engineering-platform-list-site

APIs.io Engineering Platform List Site WANs

read-only idempotent
apis-io-engineering-platform-create-new

APIs.io Engineering Platform Create a new Site WAN

apis-io-engineering-platform-delete-site

APIs.io Engineering Platform Delete Site WAN

idempotent
apis-io-engineering-platform-site-wan

APIs.io Engineering Platform Site WAN Details

read-only idempotent
apis-io-engineering-platform-patch-site

APIs.io Engineering Platform Patch Site WAN

idempotent
apis-io-engineering-platform-update-site

APIs.io Engineering Platform Update Site WAN

idempotent

Capability Spec

cloudflare-magic-site-wans.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Magic Site WANs
  description: 'APIs.io Engineering Platform Cloudflare API — Magic Site WANs. 6 operations. Lead operation: APIs.io Engineering
    Platform List Site WANs. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Magic Site WANs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudflare-magic-site-wans
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Magic Site WANs business capability. Self-contained, no shared
      references.
    resources:
    - name: accounts-account_id-magic-sites-site_id-wans
      path: /accounts/{account_id}/magic/sites/{site_id}/wans
      operations:
      - name: magicsitewanslistwans
        method: GET
        description: APIs.io Engineering Platform List Site WANs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: site_id
          in: path
          type: string
          required: true
      - name: magicsitewanscreatewan
        method: POST
        description: APIs.io Engineering Platform Create a new Site WAN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: site_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-magic-sites-site_id-wans-wan_id
      path: /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}
      operations:
      - name: magicsitewansdeletewan
        method: DELETE
        description: APIs.io Engineering Platform Delete Site WAN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: wan_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: magicsitewanswandetails
        method: GET
        description: APIs.io Engineering Platform Site WAN Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: wan_id
          in: path
          type: string
          required: true
      - name: magicsitewanspatchwan
        method: PATCH
        description: APIs.io Engineering Platform Patch Site WAN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: wan_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: magicsitewansupdatewan
        method: PUT
        description: APIs.io Engineering Platform Update Site WAN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: wan_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-magic-site-wans-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Magic Site WANs. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/magic/sites/{site-id}/wans
      name: accounts-account-id-magic-sites-site-id-wans
      description: REST surface for accounts-account_id-magic-sites-site_id-wans.
      operations:
      - method: GET
        name: magicsitewanslistwans
        description: APIs.io Engineering Platform List Site WANs
        call: cloudflare-magic-site-wans.magicsitewanslistwans
        with:
          account_id: rest.account_id
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: magicsitewanscreatewan
        description: APIs.io Engineering Platform Create a new Site WAN
        call: cloudflare-magic-site-wans.magicsitewanscreatewan
        with:
          account_id: rest.account_id
          site_id: rest.site_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/magic/sites/{site-id}/wans/{wan-id}
      name: accounts-account-id-magic-sites-site-id-wans-wan-id
      description: REST surface for accounts-account_id-magic-sites-site_id-wans-wan_id.
      operations:
      - method: DELETE
        name: magicsitewansdeletewan
        description: APIs.io Engineering Platform Delete Site WAN
        call: cloudflare-magic-site-wans.magicsitewansdeletewan
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          wan_id: rest.wan_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: magicsitewanswandetails
        description: APIs.io Engineering Platform Site WAN Details
        call: cloudflare-magic-site-wans.magicsitewanswandetails
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          wan_id: rest.wan_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: magicsitewanspatchwan
        description: APIs.io Engineering Platform Patch Site WAN
        call: cloudflare-magic-site-wans.magicsitewanspatchwan
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          wan_id: rest.wan_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: magicsitewansupdatewan
        description: APIs.io Engineering Platform Update Site WAN
        call: cloudflare-magic-site-wans.magicsitewansupdatewan
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          wan_id: rest.wan_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-magic-site-wans-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Magic Site WANs. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-site
      description: APIs.io Engineering Platform List Site WANs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-wans.magicsitewanslistwans
      with:
        account_id: tools.account_id
        site_id: tools.site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-new
      description: APIs.io Engineering Platform Create a new Site WAN
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-magic-site-wans.magicsitewanscreatewan
      with:
        account_id: tools.account_id
        site_id: tools.site_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-site
      description: APIs.io Engineering Platform Delete Site WAN
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-magic-site-wans.magicsitewansdeletewan
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        wan_id: tools.wan_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-site-wan
      description: APIs.io Engineering Platform Site WAN Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-wans.magicsitewanswandetails
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        wan_id: tools.wan_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-patch-site
      description: APIs.io Engineering Platform Patch Site WAN
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-wans.magicsitewanspatchwan
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        wan_id: tools.wan_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-site
      description: APIs.io Engineering Platform Update Site WAN
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-wans.magicsitewansupdatewan
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        wan_id: tools.wan_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.