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
- application/json
Request Body
mediaAgent object
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Bad Request
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
POST /v4/storage/cloud/:cloudstorageid/bucket/:bucketid/accesspath
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
}'
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"
}
}'
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"
}
}'
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"
}
}'
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"
}
}'
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"
}
}'
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"
}
}'