2016-07-26 17:57:53 +00:00
|
|
|
/v2/projects/{project_id}/snapshots/{snapshot_id}
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
DELETE /v2/projects/**{project_id}**/snapshots/**{snapshot_id}**
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Delete a snapshot from disk
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
**********
|
2016-09-27 15:15:40 +00:00
|
|
|
- **snapshot_id**: Snasphot UUID
|
2016-10-20 08:54:07 +00:00
|
|
|
- **project_id**: Project UUID
|
2016-07-26 17:57:53 +00:00
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
|
|
|
- **404**: The project or snapshot doesn't exist
|
|
|
|
- **204**: Changes have been written on disk
|
|
|
|
|
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: ../../../examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt
|
|
|
|
|