ModifyAccessPathOfBucketOfCloudStorage
Modify access path details of specific bucket of a specific cloud storage
Path Parameters
- cloudStorageId int32 required
Id of cloud Storage
- bucketId int32 required
Id of Bucket
- accessPathId int32 required
Id of access path (can be fetched from GET Bucket Details API)
- 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).
- enable boolean
Enable/Disable access of bucket to a media Agent
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/storage/cloud/:cloudstorageid/bucket/:bucketid/accesspath/:accesspathid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath/:accessPathId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"access": "READ_AND_WRITE",
"enable": true
}'