Netlify · Capability

Netlify Netlify's API documentation — accountMembership

Netlify Netlify's API documentation — accountMembership. 5 operations. Lead operation: accountMembership. Self-contained Naftiko capability covering one Netlify business surface.

Run with Naftiko NetlifyaccountMembership

What You Can Do

GET
Listaccountsforuser — listaccountsforuser
/v1/accounts
POST
Createaccount — createaccount
/v1/accounts
GET
Getaccount — getaccount
/v1/accounts/{account-id}
PUT
Updateaccount — updateaccount
/v1/accounts/{account-id}
DELETE
Cancelaccount — cancelaccount
/v1/accounts/{account-id}

MCP Tools

listaccountsforuser

listaccountsforuser

read-only idempotent
createaccount

createaccount

getaccount

getaccount

read-only idempotent
updateaccount

updateaccount

idempotent
cancelaccount

cancelaccount

idempotent

Capability Spec

netlify-accountmembership.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Netlify Netlify's API documentation — accountMembership
  description: 'Netlify Netlify''s API documentation — accountMembership. 5 operations. Lead operation: accountMembership.
    Self-contained Naftiko capability covering one Netlify business surface.'
  tags:
  - Netlify
  - accountMembership
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NETLIFY_API_KEY: NETLIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: netlify-accountmembership
    baseUri: https://api.netlify.com/api/v1
    description: Netlify Netlify's API documentation — accountMembership business capability. Self-contained, no shared references.
    resources:
    - name: accounts
      path: /accounts
      operations:
      - name: listaccountsforuser
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createaccount
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id
      path: /accounts/{account_id}
      operations:
      - name: getaccount
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: updateaccount
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: cancelaccount
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.NETLIFY_API_KEY}}'
  exposes:
  - type: rest
    namespace: netlify-accountmembership-rest
    port: 8080
    description: REST adapter for Netlify Netlify's API documentation — accountMembership. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts
      name: accounts
      description: REST surface for accounts.
      operations:
      - method: GET
        name: listaccountsforuser
        description: listaccountsforuser
        call: netlify-accountmembership.listaccountsforuser
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createaccount
        description: createaccount
        call: netlify-accountmembership.createaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}
      name: accounts-account-id
      description: REST surface for accounts-account_id.
      operations:
      - method: GET
        name: getaccount
        description: getaccount
        call: netlify-accountmembership.getaccount
        with:
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateaccount
        description: updateaccount
        call: netlify-accountmembership.updateaccount
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: cancelaccount
        description: cancelaccount
        call: netlify-accountmembership.cancelaccount
        with:
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: netlify-accountmembership-mcp
    port: 9090
    transport: http
    description: MCP adapter for Netlify Netlify's API documentation — accountMembership. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: listaccountsforuser
      description: listaccountsforuser
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: netlify-accountmembership.listaccountsforuser
      outputParameters:
      - type: object
        mapping: $.
    - name: createaccount
      description: createaccount
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: netlify-accountmembership.createaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getaccount
      description: getaccount
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: netlify-accountmembership.getaccount
      with:
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: updateaccount
      description: updateaccount
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: netlify-accountmembership.updateaccount
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cancelaccount
      description: cancelaccount
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: netlify-accountmembership.cancelaccount
      with:
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.