If you use a configuration in which multiple snapshot trees are connected through pairs whose clone attribute is enabled, specify the root volume of the top snapshot tree first and run the API request. This action does not delete pairs in the snapshot trees under the secondary volumes of pairs whose clone attribute is enabled, but changes the statuses of pairs in those snapshot trees to PSUE.
Then, specify the root volume of the snapshot tree under the secondary volume, and run the API request.
Execution permission
Storage Administrator (Local Copy)
Request line
POST base-URL/v1/services/snapshot-tree/actions/delete/invoke
Request message
Response message
- Body
-
A job object is returned. For details on attributes other than affectedResources, see the section that explains job objects.
Attribute
Description
affectedResources
URL of the root volume
By referring to the attributes attribute value, confirm that this is no longer a Thin Image volume.
To verify that all pairs within the snapshot tree have been deleted, obtain the pair statuses and volume attributes based on the pair information you confirmed in advance.
Action template
None.
Status codes
For details about the status codes issued in response to requests for this operation, see the description of HTTP status codes.
Code example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X POST --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/v1/services/snapshot-tree/actions/delete/invoke