• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Snapshots
  6. Deleting a Snapshot

Deleting a Snapshot

Function Description

This interface is used to delete a volume snapshot.

URI

  • URI format

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

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

  • Parameter description

    Parameter

    Mandatory

    Description

    tenant_id

    Yes

    Specifies the tenant or project ID.

    snapshot_id

    Yes

    Specifies the volume snapshot ID.

Extension Description

This interface will become invalid from micro version 2.36. Since this version, the system will return error 404 when you invoke this interface. Using the corresponding storage service interface is recommended.

Request

N/A

Response

N/A

Request Example

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

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

Response Example

N/A

Returned Values

See General Request Returned Values.