Skip to main content

ModifyAccessPathOfBucketOfCloudStorage

Select

SaaS
Customer Managed

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)

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

Success


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/storage/cloud/:cloudstorageid/bucket/:bucketid/accesspath/:accesspathid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
cloudStorageId — path required
bucketId — path required
accessPathId — path required
Body
{
"access": "READ_AND_WRITE",
"enable": true
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/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
}'