Skip to main content
POST
/
storage
/
volumes
/
{id}
/
mount
Python (SDK)
import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    latitudesh.storage.post_storage_volumes_mount(id="<id>", data={
        "type": latitudesh_python_sdk.PostStorageVolumesMountType.VOLUMES,
        "attributes": {
            "nqn": "nqn.2024-01.com.example:server01",
        },
    })

    # Use the SDK ...

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Volume storage ID

Body

application/json
data
object
required

Response

204

No Content