Edit Snap Configs for Storage Array at Array levels
Select
SaaS
Customer Managed
API to edit Snap configs at a Array level
Path Parameters
- arrayId integer required
- application/json
Request Body
snapConfigurations object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
{
"snapConfigurations": [
{
"masterConfigId": 0,
"id": 0,
"name": "string",
"type": 1,
"value": "string",
"values": [
{
"id": 0,
"name": "string"
}
],
"flags": 0,
"isUpdated": true,
"isOverridden": true
}
]
}
PUT /v4/storagearrays/:arrayid/snap/configs
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/: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/: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/: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/: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/: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/: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/: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
}
]
}'