Pure Storage · Capability

FlashArray REST API — Protection Groups

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

Run with Naftiko Pure StorageProtection Groups

What You Can Do

GET
Get — Pure Storage List Protection Groups
/v1/api/2-52/protection-groups
POST
Post — Pure Storage Create a Protection Group and Upsert Tags
/v1/api/2-52/protection-groups
DELETE
Delete — Pure Storage Delete a Protection Group
/v1/api/2-52/protection-groups
PATCH
Patch — Pure Storage Modify a Protection Group
/v1/api/2-52/protection-groups
GET
Get — Pure Storage List Protection Groups with Host Group Members
/v1/api/2-52/protection-groups/host-groups
POST
Post — Pure Storage Creates an Action to Add a Host Group to a Protection Group
/v1/api/2-52/protection-groups/host-groups
DELETE
Delete — Pure Storage Delete a Host Group from a Protection Group
/v1/api/2-52/protection-groups/host-groups
GET
Get — Pure Storage List Protection Groups with Host Members
/v1/api/2-52/protection-groups/hosts
POST
Post — Pure Storage Create an Action to Add a Host to a Protection Group
/v1/api/2-52/protection-groups/hosts
DELETE
Delete — Pure Storage Delete a Host from a Protection Group
/v1/api/2-52/protection-groups/hosts
GET
Get — Pure Storage List Protection Group Replication Performance Data
/v1/api/2-52/protection-groups/performance/replication
GET
Get — Pure Storage List Protection Group Replication Performance Data with Array Details
/v1/api/2-52/protection-groups/performance/replication/by-array
GET
Get — Pure Storage List Protection Group Space Information
/v1/api/2-52/protection-groups/space
GET
Get — Pure Storage List Tags
/v1/api/2-52/protection-groups/tags
DELETE
Delete — Pure Storage Delete Tags
/v1/api/2-52/protection-groups/tags
PUT
Put — Pure Storage Update Tags
/v1/api/2-52/protection-groups/tags/batch
GET
Get — Pure Storage List Protection Groups with Targets
/v1/api/2-52/protection-groups/targets
POST
Post — Pure Storage Create an Action to Add a Target to a Protection Group
/v1/api/2-52/protection-groups/targets
DELETE
Delete — Pure Storage Delete a Target from a Protection Group
/v1/api/2-52/protection-groups/targets
PATCH
Patch — Pure Storage Modify a Protection Group Target
/v1/api/2-52/protection-groups/targets
GET
Get — Pure Storage List Protection Groups with Volume Members
/v1/api/2-52/protection-groups/volumes
POST
Post — Pure Storage Create a Volume to Add it to a Protection Group
/v1/api/2-52/protection-groups/volumes
DELETE
Delete — Pure Storage Delete a Volume from a Protection Group
/v1/api/2-52/protection-groups/volumes

MCP Tools

pure-storage-list-protection-groups

Pure Storage List Protection Groups

read-only idempotent
pure-storage-create-protection-group

Pure Storage Create a Protection Group and Upsert Tags

pure-storage-delete-protection-group

Pure Storage Delete a Protection Group

idempotent
pure-storage-modify-protection-group

Pure Storage Modify a Protection Group

idempotent
pure-storage-list-protection-groups-2

Pure Storage List Protection Groups with Host Group Members

read-only idempotent
pure-storage-creates-action-add

Pure Storage Creates an Action to Add a Host Group to a Protection Group

pure-storage-delete-host-group

Pure Storage Delete a Host Group from a Protection Group

idempotent
pure-storage-list-protection-groups-3

Pure Storage List Protection Groups with Host Members

read-only idempotent
pure-storage-create-action-add

Pure Storage Create an Action to Add a Host to a Protection Group

pure-storage-delete-host-protection

Pure Storage Delete a Host from a Protection Group

idempotent
pure-storage-list-protection-group

Pure Storage List Protection Group Replication Performance Data

read-only idempotent
pure-storage-list-protection-group-2

Pure Storage List Protection Group Replication Performance Data with Array Details

read-only idempotent
pure-storage-list-protection-group-3

Pure Storage List Protection Group Space Information

read-only idempotent
pure-storage-list-tags

Pure Storage List Tags

read-only idempotent
pure-storage-delete-tags

Pure Storage Delete Tags

idempotent
pure-storage-update-tags

Pure Storage Update Tags

idempotent
pure-storage-list-protection-groups-4

Pure Storage List Protection Groups with Targets

read-only idempotent
pure-storage-create-action-add-2

Pure Storage Create an Action to Add a Target to a Protection Group

read-only
pure-storage-delete-target-protection

Pure Storage Delete a Target from a Protection Group

idempotent
pure-storage-modify-protection-group-2

Pure Storage Modify a Protection Group Target

idempotent
pure-storage-list-protection-groups-5

Pure Storage List Protection Groups with Volume Members

read-only idempotent
pure-storage-create-volume-add

Pure Storage Create a Volume to Add it to a Protection Group

pure-storage-delete-volume-protection

Pure Storage Delete a Volume from a Protection Group

idempotent

Capability Spec

flasharray-rest-protection-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashArray REST API — Protection Groups
  description: 'FlashArray REST API — Protection Groups. 23 operations. Lead operation: Pure Storage List Protection Groups.
    Self-contained Naftiko capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Protection Groups
  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-protection-groups
    baseUri: ''
    description: FlashArray REST API — Protection Groups business capability. Self-contained, no shared references.
    resources:
    - name: api-2.52-protection-groups
      path: /api/2.52/protection-groups
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Protection Group and Upsert Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify a Protection Group
        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-protection-groups-host-groups
      path: /api/2.52/protection-groups/host-groups
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Groups with Host Group Members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Creates an Action to Add a Host Group to a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Host Group from a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-protection-groups-hosts
      path: /api/2.52/protection-groups/hosts
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Groups with Host Members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create an Action to Add a Host to a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Host from a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-protection-groups-performance-replication
      path: /api/2.52/protection-groups/performance/replication
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Group Replication Performance Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-protection-groups-performance-replication-by-array
      path: /api/2.52/protection-groups/performance/replication/by-array
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Group Replication Performance Data with Array Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-protection-groups-space
      path: /api/2.52/protection-groups/space
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Group Space Information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-protection-groups-tags
      path: /api/2.52/protection-groups/tags
      operations:
      - name: get
        method: GET
        description: Pure Storage List Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-protection-groups-tags-batch
      path: /api/2.52/protection-groups/tags/batch
      operations:
      - name: put
        method: PUT
        description: Pure Storage Update Tags
        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-protection-groups-targets
      path: /api/2.52/protection-groups/targets
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Groups with Targets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create an Action to Add a Target to a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Target from a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify a Protection Group Target
        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-protection-groups-volumes
      path: /api/2.52/protection-groups/volumes
      operations:
      - name: get
        method: GET
        description: Pure Storage List Protection Groups with Volume Members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Volume to Add it to a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Volume from a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: flasharray-rest-protection-groups-rest
    port: 8080
    description: REST adapter for FlashArray REST API — Protection Groups. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/2-52/protection-groups
      name: api-2-52-protection-groups
      description: REST surface for api-2.52-protection-groups.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Groups
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Protection Group and Upsert Tags
        call: flasharray-rest-protection-groups.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Protection Group
        call: flasharray-rest-protection-groups.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify a Protection Group
        call: flasharray-rest-protection-groups.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/host-groups
      name: api-2-52-protection-groups-host-groups
      description: REST surface for api-2.52-protection-groups-host-groups.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Groups with Host Group Members
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Creates an Action to Add a Host Group to a Protection Group
        call: flasharray-rest-protection-groups.post
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Host Group from a Protection Group
        call: flasharray-rest-protection-groups.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/hosts
      name: api-2-52-protection-groups-hosts
      description: REST surface for api-2.52-protection-groups-hosts.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Groups with Host Members
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create an Action to Add a Host to a Protection Group
        call: flasharray-rest-protection-groups.post
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Host from a Protection Group
        call: flasharray-rest-protection-groups.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/performance/replication
      name: api-2-52-protection-groups-performance-replication
      description: REST surface for api-2.52-protection-groups-performance-replication.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Group Replication Performance Data
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/performance/replication/by-array
      name: api-2-52-protection-groups-performance-replication-by-array
      description: REST surface for api-2.52-protection-groups-performance-replication-by-array.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Group Replication Performance Data with Array Details
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/space
      name: api-2-52-protection-groups-space
      description: REST surface for api-2.52-protection-groups-space.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Group Space Information
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/tags
      name: api-2-52-protection-groups-tags
      description: REST surface for api-2.52-protection-groups-tags.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Tags
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete Tags
        call: flasharray-rest-protection-groups.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/tags/batch
      name: api-2-52-protection-groups-tags-batch
      description: REST surface for api-2.52-protection-groups-tags-batch.
      operations:
      - method: PUT
        name: put
        description: Pure Storage Update Tags
        call: flasharray-rest-protection-groups.put
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/targets
      name: api-2-52-protection-groups-targets
      description: REST surface for api-2.52-protection-groups-targets.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Groups with Targets
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create an Action to Add a Target to a Protection Group
        call: flasharray-rest-protection-groups.post
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Target from a Protection Group
        call: flasharray-rest-protection-groups.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify a Protection Group Target
        call: flasharray-rest-protection-groups.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/protection-groups/volumes
      name: api-2-52-protection-groups-volumes
      description: REST surface for api-2.52-protection-groups-volumes.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Protection Groups with Volume Members
        call: flasharray-rest-protection-groups.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Volume to Add it to a Protection Group
        call: flasharray-rest-protection-groups.post
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Volume from a Protection Group
        call: flasharray-rest-protection-groups.delete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flasharray-rest-protection-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashArray REST API — Protection Groups. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: pure-storage-list-protection-groups
      description: Pure Storage List Protection Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-protection-group
      description: Pure Storage Create a Protection Group and Upsert Tags
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-protection-groups.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-protection-group
      description: Pure Storage Delete a Protection Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-protection-groups.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-protection-group
      description: Pure Storage Modify a Protection Group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-groups-2
      description: Pure Storage List Protection Groups with Host Group Members
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-creates-action-add
      description: Pure Storage Creates an Action to Add a Host Group to a Protection Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-protection-groups.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-host-group
      description: Pure Storage Delete a Host Group from a Protection Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-protection-groups.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-groups-3
      description: Pure Storage List Protection Groups with Host Members
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-action-add
      description: Pure Storage Create an Action to Add a Host to a Protection Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-protection-groups.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-host-protection
      description: Pure Storage Delete a Host from a Protection Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-protection-groups.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-group
      description: Pure Storage List Protection Group Replication Performance Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-group-2
      description: Pure Storage List Protection Group Replication Performance Data with Array Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-group-3
      description: Pure Storage List Protection Group Space Information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-tags
      description: Pure Storage List Tags
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-tags
      description: Pure Storage Delete Tags
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-protection-groups.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-update-tags
      description: Pure Storage Update Tags
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.put
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-groups-4
      description: Pure Storage List Protection Groups with Targets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-action-add-2
      description: Pure Storage Create an Action to Add a Target to a Protection Group
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: flasharray-rest-protection-groups.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-target-protection
      description: Pure Storage Delete a Target from a Protection Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-protection-groups.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-protection-group-2
      description: Pure Storage Modify a Protection Group Target
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-protection-groups-5
      description: Pure Storage List Protection Groups with Volume Members
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-protection-groups.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-volume-add
      description: Pure Storage Create a Volume to Add it to a Protection Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-protection-groups.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-volume-protection
      description: Pure Storage Delete a Volume from a Protection Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-protection-groups.delete
      outputParameters:
      - type: object
        mapping: $.