Portworx OpenStorageMountAttach API

The OpenStorageMountAttach API from Portworx — 4 operation(s) for openstoragemountattach.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
IT Infrastructure Management BC-600.50

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/mountattach/attach Attach a volume to the host · Attach attaches device to the host that the client is communicating with #
Ask an LLM
“How do I attach a volume to the host I'm talking to?”
“What access do I need to attach a volume?”
Tell an agent
Attach volume {volume_id} to this host.
Attach volume {volume_id} with options {options}.
POST /v1/mountattach/detach Detach a volume from the host · Detaches a the volume from the host #
Ask an LLM
“How do I detach a volume from the host?”
“Can I detach a volume I no longer use?”
Tell an agent destructive · confirm first
Detach volume {volume_id} from this host.
Detach volume {volume_id} with options {options}.
POST /v1/mountattach/mount Mount an attached volume · Mount mounts an attached volume in the host that the client is communicating… #
Ask an LLM
“How do I mount an attached volume on the host?”
“Can I choose where an attached volume gets mounted?”
Tell an agent
Mount volume {volume_id} at {mount_path}.
Mount attached volume {volume_id} with options {options}.
POST /v1/mountattach/unmount Unmount a mounted volume · Unmount unmounts a mounted volume in the host that the client is communicating… #
Ask an LLM
“How do I unmount a volume I mounted?”
“Can I unmount a volume from a specific path?”
Tell an agent destructive · confirm first
Unmount volume {volume_id} from {mount_path}.
Unmount mounted volume {volume_id} with options {options}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/portworx:portworx-openstoragemountattach-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

portworx-openstoragemountattach-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenStorage SDK Open Storage Mount Attach API
  version: 0.186.0
security:
- bearerAuth: []
tags:
- name: OpenStorageMountAttach
paths:
  /v1/mountattach/attach:
    post:
      description: Requires access AccessType.Write of volume
      operationId: OpenStorageMountAttach_Attach
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/apiSdkVolumeAttachRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiSdkVolumeAttachResponse'
          description: A successful response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
          description: An unexpected error response.
      summary: Attach attaches device to the host that the client is communicating with
      tags:
      - OpenStorageMountAttach
  /v1/mountattach/detach:
    post:
      description: Requires access AccessType.Write of volume
      operationId: OpenStorageMountAttach_Detach
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/apiSdkVolumeDetachRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiSdkVolumeDetachResponse'
          description: A successful response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
          description: An unexpected error response.
      summary: Detaches a the volume from the host
      tags:
      - OpenStorageMountAttach
  /v1/mountattach/mount:
    post:
      description: Requires access AccessType.Write of volume
      operationId: OpenStorageMountAttach_Mount
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/apiSdkVolumeMountRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiSdkVolumeMountResponse'
          description: A successful response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
          description: An unexpected error response.
      summary: Mount mounts an attached volume in the host that the client is communicating…
      tags:
      - OpenStorageMountAttach
  /v1/mountattach/unmount:
    post:
      description: Requires access AccessType.Write of volume
      operationId: OpenStorageMountAttach_Unmount
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/apiSdkVolumeUnmountRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiSdkVolumeUnmountResponse'
          description: A successful response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
          description: An unexpected error response.
      summary: Unmount unmounts a mounted volume in the host that the client is communicating…
      tags:
      - OpenStorageMountAttach
components:
  schemas:
    apiSdkVolumeMountRequest:
      properties:
        driver_options:
          additionalProperties:
            type: string
          description: 'The following options are private to the driver plugin running the

            OpenStorage SDK. Contact your driver developer for any special

            values that need to be provided here.'
          type: object
        mount_path:
          description: Mount path for mounting the volume.
          type: string
        options:
          $ref: '#/components/schemas/apiSdkVolumeAttachOptions'
        volume_id:
          title: Id of the volume
          type: string
      title: Defines a request to mount a volume to the node receiving this request
      type: object
    apiSdkVolumeDetachOptions:
      properties:
        force:
          title: Forcefully detach device from the kernel
          type: boolean
        redirect:
          title: redirect the request to the attached node
          type: boolean
        unmount_before_detach:
          title: Unmount the volume before detaching
          type: boolean
      type: object
    apiSdkVolumeUnmountRequest:
      properties:
        driver_options:
          additionalProperties:
            type: string
          description: 'The following options are private to the driver plugin running the

            OpenStorage SDK. Contact your driver developer for any special

            values that need to be provided here.'
          type: object
        mount_path:
          title: MountPath for device
          type: string
        options:
          $ref: '#/components/schemas/apiSdkVolumeUnmountOptions'
        volume_id:
          title: Id of volume
          type: string
      title: Defines a request to unmount a volume on the node receiving this request
      type: object
    apiSdkVolumeAttachOptions:
      properties:
        fastpath:
          title: Indicates whether fastpath needs to be enabled during attach
          type: string
        secret_context:
          description: 'It indicates the additional context which could be used to retrieve the secret.

            In case of Kubernetes, this is the namespace in which the secret is created.'
          type: string
        secret_key:
          title: In case of Kubernetes, this will be the key stored in the Kubernetes secret
          type: string
        secret_name:
          title: 'Indicates the name of the secret stored in a secret store

            In case of Hashicorp''s Vault, it will be the key from the key-value pair stored in its kv backend.

            In case of Kubernetes secret, it is the name of the secret object itself'
          type: string
      title: Options to attach device
      type: object
    apiSdkVolumeMountResponse:
      title: Empty response
      type: object
    runtimeError:
      properties:
        code:
          format: int32
          type: integer
        details:
          items:
            $ref: '#/components/schemas/protobufAny'
          type: array
        error:
          type: string
        message:
          type: string
      type: object
    apiSdkVolumeDetachRequest:
      properties:
        driver_options:
          additionalProperties:
            type: string
          description: 'The following options are private to the driver plugin running the

            OpenStorage SDK. Contact your driver developer for any special

            values that need to be provided here.'
          type: object
        options:
          $ref: '#/components/schemas/apiSdkVolumeDetachOptions'
        volume_id:
          title: Id of the volume
          type: string
      title: Defines a request to detach a volume
      type: object
    protobufAny:
      properties:
        type_url:
          type: string
        value:
          format: byte
          type: string
      type: object
    apiSdkVolumeDetachResponse:
      title: Empty response
      type: object
    apiSdkVolumeAttachResponse:
      properties:
        device_path:
          title: Device path where device is exported
          type: string
      title: Defines a response from the node which received the request to attach
      type: object
    apiSdkVolumeUnmountOptions:
      properties:
        delete_mount_path:
          title: Delete the mount path on the node after unmounting
          type: boolean
        no_delay_before_deleting_mount_path:
          description: 'Do not wait for a delay before deleting path.

            Normally a storage driver may delay before deleting the mount path,

            which may be necessary to reduce the risk of race conditions. This

            choice will remove that delay. This value is only usable when

            `delete_mount_path` is set.'
          type: boolean
      title: Options to unmount device
      type: object
    apiSdkVolumeAttachRequest:
      properties:
        driver_options:
          additionalProperties:
            type: string
          description: 'The following options are private to the driver plugin running the

            OpenStorage SDK. Contact your driver developer for any special

            values that need to be provided here.'
          type: object
        options:
          $ref: '#/components/schemas/apiSdkVolumeAttachOptions'
        volume_id:
          title: Id of volume
          type: string
      title: Defines a request to attach a volume to the node receiving this request
      type: object
    apiSdkVolumeUnmountResponse:
      title: Empty response
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT