• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Snapshot Management
  6. Deleting a Snapshot (Discarded)

Deleting a Snapshot (Discarded)

Function

This API is used to delete a volume snapshot.

Extension 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.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

N/A

Response

N/A

Examples

  • 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

    N/A

Returned Values

See General Request Returned Values.