8.5. Deleting snapshots

DELETE /v3/{project_id}/snapshots/{snapshot_id}

Deletes a snapshot with the specified ID.

Snapshot status must be available or error

Source: https://docs.openstack.org/api-ref/block-storage/v3/index.html#delete-a-snapshot

8.5.1. Request

Name In Type Description
project_id path string The UUID of the project in a multi-tenancy cloud.
snapshot_id path string The UUID of the snapshot. Example

# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \

8.5.2. Response Status codes Success

Code Reason
202 - Accepted Request was accepted for processing, but the processing has not been completed. A ‘location’ header is included in the response which contains a link to check the progress of the request. Error

Code Reason
400 - Bad Request Some content in the request was invalid.
403 - Forbidden Policy does not allow current user to do this operation.
404 - Not Found The requested resource could not be found.