Deleting Snapshots
DELETE /v3/{project_id}/snapshots/{snapshot_id}
Deletes a snapshot with the specified ID. This request requires an authentication token, which you should include in the request headers.
Important
Snapshot status must be available or error to be deleted.
info
Source: delete-a-snapshot
Request
Parameters
| 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. |
Sample Request
Using curl
curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://api.vietnix.cloud:8776/v3/f33507157a634f1cac71e06a70fb558e/snapshots/40181172-d8b9-46a2-a9d8-c40ed9e098b5
Using HTTP request
DELETE https://api.vietnix.cloud:8776/v3/f33507157a634f1cac71e06a70fb558e/snapshots/40181172-d8b9-46a2-a9d8-c40ed9e098b5
Response
This operation does not return a response body.
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. |