Pure Storage · Capability

FlashArray REST API — Vchosts

FlashArray REST API — Vchosts. 12 operations. Lead operation: Pure Storage List Vchosts. Self-contained Naftiko capability covering one Pure Storage business surface.

Run with Naftiko Pure StorageVchosts

What You Can Do

GET
Get — Pure Storage List Vchosts
/v1/api/2-52/vchosts
POST
Post — Pure Storage Create a Vchost
/v1/api/2-52/vchosts
DELETE
Delete — Pure Storage Delete a Vchost
/v1/api/2-52/vchosts
PATCH
Patch — Pure Storage Modify a Vchost
/v1/api/2-52/vchosts
GET
Get — Pure Storage List Vchost Certificates
/v1/api/2-52/vchosts/certificates
POST
Post — Pure Storage Create a Vchost Certificate
/v1/api/2-52/vchosts/certificates
DELETE
Delete — Pure Storage Delete a Vchost Certificate
/v1/api/2-52/vchosts/certificates
PATCH
Patch — Pure Storage Modify a Vchost Certificate
/v1/api/2-52/vchosts/certificates
GET
Get — Pure Storage List Vchost Endpoints
/v1/api/2-52/vchosts/endpoints
POST
Post — Pure Storage Create a Vchost Endpoint
/v1/api/2-52/vchosts/endpoints
DELETE
Delete — Pure Storage Delete a Vchost Endpoint
/v1/api/2-52/vchosts/endpoints
PATCH
Patch — Pure Storage Modify a Vchost Endpoint
/v1/api/2-52/vchosts/endpoints

MCP Tools

pure-storage-list-vchosts

Pure Storage List Vchosts

read-only idempotent
pure-storage-create-vchost

Pure Storage Create a Vchost

pure-storage-delete-vchost

Pure Storage Delete a Vchost

idempotent
pure-storage-modify-vchost

Pure Storage Modify a Vchost

idempotent
pure-storage-list-vchost-certificates

Pure Storage List Vchost Certificates

read-only idempotent
pure-storage-create-vchost-certificate

Pure Storage Create a Vchost Certificate

pure-storage-delete-vchost-certificate

Pure Storage Delete a Vchost Certificate

idempotent
pure-storage-modify-vchost-certificate

Pure Storage Modify a Vchost Certificate

idempotent
pure-storage-list-vchost-endpoints

Pure Storage List Vchost Endpoints

read-only idempotent
pure-storage-create-vchost-endpoint

Pure Storage Create a Vchost Endpoint

pure-storage-delete-vchost-endpoint

Pure Storage Delete a Vchost Endpoint

idempotent
pure-storage-modify-vchost-endpoint

Pure Storage Modify a Vchost Endpoint

idempotent

Capability Spec

flasharray-rest-vchosts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashArray REST API — Vchosts
  description: 'FlashArray REST API — Vchosts. 12 operations. Lead operation: Pure Storage List Vchosts. Self-contained Naftiko
    capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Vchosts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PURE_STORAGE_API_KEY: PURE_STORAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: flasharray-rest-vchosts
    baseUri: ''
    description: FlashArray REST API — Vchosts business capability. Self-contained, no shared references.
    resources:
    - name: api-2.52-vchosts
      path: /api/2.52/vchosts
      operations:
      - name: get
        method: GET
        description: Pure Storage List Vchosts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Vchost
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Vchost
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify a Vchost
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-2.52-vchosts-certificates
      path: /api/2.52/vchosts/certificates
      operations:
      - name: get
        method: GET
        description: Pure Storage List Vchost Certificates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Vchost Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Vchost Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify a Vchost Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-2.52-vchosts-endpoints
      path: /api/2.52/vchosts/endpoints
      operations:
      - name: get
        method: GET
        description: Pure Storage List Vchost Endpoints
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Vchost Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Vchost Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify a Vchost Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: flasharray-rest-vchosts-rest
    port: 8080
    description: REST adapter for FlashArray REST API — Vchosts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/2-52/vchosts
      name: api-2-52-vchosts
      description: REST surface for api-2.52-vchosts.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Vchosts
        call: flasharray-rest-vchosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Vchost
        call: flasharray-rest-vchosts.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Vchost
        call: flasharray-rest-vchosts.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify a Vchost
        call: flasharray-rest-vchosts.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/vchosts/certificates
      name: api-2-52-vchosts-certificates
      description: REST surface for api-2.52-vchosts-certificates.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Vchost Certificates
        call: flasharray-rest-vchosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Vchost Certificate
        call: flasharray-rest-vchosts.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Vchost Certificate
        call: flasharray-rest-vchosts.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify a Vchost Certificate
        call: flasharray-rest-vchosts.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/vchosts/endpoints
      name: api-2-52-vchosts-endpoints
      description: REST surface for api-2.52-vchosts-endpoints.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Vchost Endpoints
        call: flasharray-rest-vchosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Vchost Endpoint
        call: flasharray-rest-vchosts.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Vchost Endpoint
        call: flasharray-rest-vchosts.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify a Vchost Endpoint
        call: flasharray-rest-vchosts.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flasharray-rest-vchosts-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashArray REST API — Vchosts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: pure-storage-list-vchosts
      description: Pure Storage List Vchosts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-vchosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-vchost
      description: Pure Storage Create a Vchost
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-vchosts.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-vchost
      description: Pure Storage Delete a Vchost
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-vchosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-vchost
      description: Pure Storage Modify a Vchost
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-vchosts.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-vchost-certificates
      description: Pure Storage List Vchost Certificates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-vchosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-vchost-certificate
      description: Pure Storage Create a Vchost Certificate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-vchosts.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-vchost-certificate
      description: Pure Storage Delete a Vchost Certificate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-vchosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-vchost-certificate
      description: Pure Storage Modify a Vchost Certificate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-vchosts.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-vchost-endpoints
      description: Pure Storage List Vchost Endpoints
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-vchosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-vchost-endpoint
      description: Pure Storage Create a Vchost Endpoint
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-vchosts.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-vchost-endpoint
      description: Pure Storage Delete a Vchost Endpoint
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-vchosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-vchost-endpoint
      description: Pure Storage Modify a Vchost Endpoint
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-vchosts.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.