Skip to main content

Modify a disk access path

Select

SaaS
Customer Managed

Used to modify a disk access path

Path Parameters
  • storagePoolId int32 required

    Id of the disk storage pool whose access path has to be modified

  • backupLocationId int32 required

    Id of the mount path whose access path has to be modified

  • accessPathId int32 required

    Id of the mount path whose access path has to be modified

Request Body
  • access string

    Possible values: [READ_AND_WRITE, READ]

    The access type for the access path can be either read (writing to path not allowed) or read and write (writing to path allowed).

  • enabled boolean
Responses

Success


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/storage/disk/:storagepoolid/backuplocation/:backuplocationid/accesspath/:accesspathid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
storagePoolId — path required
backupLocationId — path required
accessPathId — path required
Body
{
"access": "READ_AND_WRITE",
"enabled": true
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enabled": true
}'