Edit Storage Array Snap Configs at Copy Level
Select
SaaS
Customer Managed
API to edit snap configurations for storage array at copy level
Path Parameters
- copyId int32 required
- arrayId int32 required
- application/json
Request Body
snapConfigurations object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/storagearrays/copy/:copyid/arrays/:arrayid/snap/configs
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Copy/:copyId/Arrays/:arrayId/Snap/Configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}'