Resource Center/Resource Pool/Volume Operations
PUTVolume OperationsSince 3.10.0SynchronousAuth Required
ShrinkVolumeSnapshot
ShrinkVolumeSnapshot
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/volume-snapshots/shrink/{uuid}/actions
/zstack/v1/volume-snapshots/shrink/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/volume-snapshots/shrink/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "shrinkResult": { "oldSize": 2.147483648E9, "size": 1.073741824E9, "deltaSize": 1.073741824E9 } }Change History
This API has no change history records yet.
