APIs.io Engineering Platform Cloudflare API — Magic Site LANs

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

Run with Naftiko Engineering PlatformMagic Site LANs

What You Can Do

GET
Magicsitelanslistlans — APIs.io Engineering Platform List Site LANs
/v1/accounts/{account-id}/magic/sites/{site-id}/lans
POST
Magicsitelanscreatelan — APIs.io Engineering Platform Create a new Site LAN
/v1/accounts/{account-id}/magic/sites/{site-id}/lans
DELETE
Magicsitelansdeletelan — APIs.io Engineering Platform Delete Site LAN
/v1/accounts/{account-id}/magic/sites/{site-id}/lans/{lan-id}
GET
Magicsitelanslandetails — APIs.io Engineering Platform Site LAN Details
/v1/accounts/{account-id}/magic/sites/{site-id}/lans/{lan-id}
PATCH
Magicsitelanspatchlan — APIs.io Engineering Platform Patch Site LAN
/v1/accounts/{account-id}/magic/sites/{site-id}/lans/{lan-id}
PUT
Magicsitelansupdatelan — APIs.io Engineering Platform Update Site LAN
/v1/accounts/{account-id}/magic/sites/{site-id}/lans/{lan-id}

MCP Tools

apis-io-engineering-platform-list-site

APIs.io Engineering Platform List Site LANs

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

APIs.io Engineering Platform Create a new Site LAN

apis-io-engineering-platform-delete-site

APIs.io Engineering Platform Delete Site LAN

idempotent
apis-io-engineering-platform-site-lan

APIs.io Engineering Platform Site LAN Details

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

APIs.io Engineering Platform Patch Site LAN

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

APIs.io Engineering Platform Update Site LAN

idempotent

Capability Spec

cloudflare-magic-site-lans.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Magic Site LANs
  description: 'APIs.io Engineering Platform Cloudflare API — Magic Site LANs. 6 operations. Lead operation: APIs.io Engineering
    Platform List Site LANs. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Magic Site LANs
  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-lans
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Magic Site LANs business capability. Self-contained, no shared
      references.
    resources:
    - name: accounts-account_id-magic-sites-site_id-lans
      path: /accounts/{account_id}/magic/sites/{site_id}/lans
      operations:
      - name: magicsitelanslistlans
        method: GET
        description: APIs.io Engineering Platform List Site LANs
        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: magicsitelanscreatelan
        method: POST
        description: APIs.io Engineering Platform Create a new Site LAN
        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-lans-lan_id
      path: /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}
      operations:
      - name: magicsitelansdeletelan
        method: DELETE
        description: APIs.io Engineering Platform Delete Site LAN
        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: lan_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: magicsitelanslandetails
        method: GET
        description: APIs.io Engineering Platform Site LAN 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: lan_id
          in: path
          type: string
          required: true
      - name: magicsitelanspatchlan
        method: PATCH
        description: APIs.io Engineering Platform Patch Site LAN
        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: lan_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: magicsitelansupdatelan
        method: PUT
        description: APIs.io Engineering Platform Update Site LAN
        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: lan_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-lans-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Magic Site LANs. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/magic/sites/{site-id}/lans
      name: accounts-account-id-magic-sites-site-id-lans
      description: REST surface for accounts-account_id-magic-sites-site_id-lans.
      operations:
      - method: GET
        name: magicsitelanslistlans
        description: APIs.io Engineering Platform List Site LANs
        call: cloudflare-magic-site-lans.magicsitelanslistlans
        with:
          account_id: rest.account_id
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: magicsitelanscreatelan
        description: APIs.io Engineering Platform Create a new Site LAN
        call: cloudflare-magic-site-lans.magicsitelanscreatelan
        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}/lans/{lan-id}
      name: accounts-account-id-magic-sites-site-id-lans-lan-id
      description: REST surface for accounts-account_id-magic-sites-site_id-lans-lan_id.
      operations:
      - method: DELETE
        name: magicsitelansdeletelan
        description: APIs.io Engineering Platform Delete Site LAN
        call: cloudflare-magic-site-lans.magicsitelansdeletelan
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          lan_id: rest.lan_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: magicsitelanslandetails
        description: APIs.io Engineering Platform Site LAN Details
        call: cloudflare-magic-site-lans.magicsitelanslandetails
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          lan_id: rest.lan_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: magicsitelanspatchlan
        description: APIs.io Engineering Platform Patch Site LAN
        call: cloudflare-magic-site-lans.magicsitelanspatchlan
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          lan_id: rest.lan_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: magicsitelansupdatelan
        description: APIs.io Engineering Platform Update Site LAN
        call: cloudflare-magic-site-lans.magicsitelansupdatelan
        with:
          site_id: rest.site_id
          account_id: rest.account_id
          lan_id: rest.lan_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-magic-site-lans-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Magic Site LANs. 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 LANs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-lans.magicsitelanslistlans
      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 LAN
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-magic-site-lans.magicsitelanscreatelan
      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 LAN
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-magic-site-lans.magicsitelansdeletelan
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        lan_id: tools.lan_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-site-lan
      description: APIs.io Engineering Platform Site LAN Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-lans.magicsitelanslandetails
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        lan_id: tools.lan_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-patch-site
      description: APIs.io Engineering Platform Patch Site LAN
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-lans.magicsitelanspatchlan
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        lan_id: tools.lan_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-site
      description: APIs.io Engineering Platform Update Site LAN
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-magic-site-lans.magicsitelansupdatelan
      with:
        site_id: tools.site_id
        account_id: tools.account_id
        lan_id: tools.lan_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.