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
- application/json
Request Body
mediaAgents object[] required
Responses
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Requested Details not found
Internal Server Error
POST /v4/storage/local/:storagepoolid/backuplocation/:backuplocationid/accesspath
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'