Update retention of all dependent copies for a WORM pool
Select
API is used to update the retention of dependent copies of the storage pool. If the storage has object lock enabled, it will copy the retention of the storage pool and set it on all the dependent copies. If the storage has bucket lock enabled, it will copy the retention of maxRetentionStoragePoolId and set it on the pool and its depenedent copies.
Path Parameters
- storagePoolId int32 required
Id of storage pool
Query Parameters
- maxRetentionStoragePoolId int32
Id of the storage pool having max retention
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
PUT /v4/storagepool/worm/:storagepoolid/retention
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/StoragePool/WORM/:storagePoolId/Retention' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'