Skip to main content

CreateAccessPathForBucketOfCloudStorage

Select

SaaS
Customer Managed

Add a new Access path (mediaAgent) to a specific bucket of a specific cloud storage

Path Parameters
  • cloudStorageId int32 required

    Id of cloud Storage

  • bucketId int32 required

    Id of Bucket

Request Body
  • mediaAgent object
  • id int32
  • name string
Responses

Success


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

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
Body
{
"mediaAgent": {
"id": 0,
"name": "string"
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId/AccessPath' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
}
}'