Plan Storage Modify
Select
SaaS
Customer Managed
This operation updates Storage Pool properties for a Plan.
Path Parameters
- PlanId string required
Header Parameters
- Content-Type string
Possible values: [
application/x-www-form-urlencoded
]
- application/x-www-form-urlencoded
Request Body
- PrimaryRetentionInDays int32 required
- SecondaryRetentionInDays int32 required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "",
"errorCode": 0
}
PUT /v2/plan/:planid/storage/modify
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v2/Plan/:PlanId/Storage/Modify' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'