Updated on 2022-09-05 GMT+08:00

Deleting a Snapshot (Discarded)

Function

This API is used to delete a volume snapshot.

This API has been discarded. Use the API described in Deleting an EVS Snapshot (OpenStack Cinder API v2).

URI

DELETE /v2.1/{project_id}/os-snapshots/{snapshot_id}

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

For details about how to obtain the ID, see Obtaining a Project ID.

snapshot_id

Yes

Specifies the volume snapshot ID.

Request

None

Response

None

Example Request

DELETE https://{endpoint}/v2.1/d6c277ba8820452e83df36f33c9fa561/os-snapshots/74bfbbdd-7af5-4ed5-81b2-0aed668441d6

Example Response

None