Modify a local storage access path
Select
SaaS
Customer Managed
Used to modify a local storage access path
Path Parameters
- storagePoolId int32 required
Id of the Local 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
mediaAgents object required
- 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).
credentials object
savedCredentials object
- path string
Can be used to change the disk access path.
- 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/local/:storagepoolid/backuplocation/:backuplocationid/accesspath/:accesspathid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": {
"id": 0,
"name": "string"
},
"access": "READ_AND_WRITE",
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string",
"enabled": true
}'