Update Disk Storage Properties
Select
SaaS
Customer Managed
Modify the properties of an existing disk storage pool
Path Parameters
- storagePoolId int32 required
Id of the disk storage to update
- application/json
Request Body
- newName string
change the name of the storage pool
dataEncryption object
security object[]
Responses
- 200
- 400
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Bad Request
Requested Details not found
PUT /v4/storage/disk/:storagepoolid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Disk/:storagePoolId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"dataEncryption": {
"encrypt": true,
"keyLength": 0,
"cipher": "BlowFish",
"keyProvider": {
"id": 0,
"name": "string"
}
},
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"role": {
"id": 0,
"name": "string"
}
}
]
}'