• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. OpenStack Nova APIs
  5. Snapshot Management
  6. Deleting a Snapshot (Discarded)

Deleting a Snapshot (Discarded)

Function

This API is used to delete a volume snapshot.

Description

  • This API will be discarded. You are advised to use the EVS API "Deleting an EVS Snapshot (Native OpenStack API V2)".

URI

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

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.

snapshot_id

Yes

Specifies the volume snapshot ID.

Request

None

Response

None

Example Request

DELETE /v2/d6c277ba8820452e83df36f33c9fa561/os-snapshots/74bfbbdd-7af5-4ed5-81b2-0aed668441d6
DELETE /v2.1/d6c277ba8820452e83df36f33c9fa561/os-snapshots/74bfbbdd-7af5-4ed5-81b2-0aed668441d6

Example Response

None

Returned Values

See General Request Returned Values.