Skip to main content

Add Media Agent to Local Storage Path

Select

SaaS
Customer Managed

Used to add a media agent to a local storage pool access path

Path Parameters
  • storagePoolId int32 required

    Id of the local storage pool whose details have to be fetched to add a new access path

  • backupLocationId int32 required

    Id of the backup location whose details have to be fetched to add a new access path

Request Body
  • mediaAgents object[] required

    Can add a list of media agents to be added as the local storage access path.

  • id int32
  • name string
Responses

Success


Schema
  • errorMessage string
  • errorCode int32
POST /v4/storage/local/:storagepoolid/backuplocation/:backuplocationid/accesspath    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
storagePoolId — path required
backupLocationId — path required
Body
{
"mediaAgents": [
{
"id": 0,
"name": "string"
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgents": [
{
"id": 0,
"name": "string"
}
]
}'