Deleting a snapshot group

Storage Advisor Embedded Guide

Version
88-07-0x
Audience
anonymous
Part Number
MK-97HM85022-14

The following request deletes a snapshot group and all snapshots in the snapshot group for the specified snapshot group name.

Execution permission

Storage Administrator (Local Copy)

Request line

DELETE base-URL/simple/v1/objects/snapshot-groups/object-ID

Request message

Object ID

Specify a value for the name that was obtained by getting the list of snapshot group names.

Attribute

Type

Description

name

string

(Required) Snapshot group name

Note:

Do not specify a snapshot group name that contains a slash (/) or a backslash (\).

To delete a snapshot group whose name contains a slash (/) or a backslash (\), execute the API request for deleting a snapshot.

If all snapshots in a snapshot group are deleted, the snapshot group is also deleted automatically.

Query parameters
None.
Body
None.

Response message

Body

Attribute

Type

Description

statusResource

string

URL used to obtain the execution results of the delete the snapshot group request

Note:

Execute the API function for obtaining information about the status of the API function that performs asynchronous processing. For details, see Getting status information about an API function that performs asynchronous processing.

Status codes

See HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X DELETE https://192.0.2.100/ConfigurationManager/simple/v1/objects/snapshot-groups/snapshotGroup