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
- application/json
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
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Requested Details not found
PUT /v4/storage/disk/:storagepoolid/backuplocation/:backuplocationid/accesspath/:accesspathid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'