2016-07-26 20:57:53 +03:00
|
|
|
/v2/projects/{project_id}/snapshots/{snapshot_id}
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
DELETE /v2/projects/**{project_id}**/snapshots/**{snapshot_id}**
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Delete a snapshot from disk
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
**********
|
2018-06-14 11:39:31 +03:00
|
|
|
- **project_id**: Project UUID
|
2018-08-16 17:31:56 +03:00
|
|
|
- **snapshot_id**: Snasphot UUID
|
2016-07-26 20:57:53 +03:00
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
2018-06-14 11:39:31 +03:00
|
|
|
- **204**: Changes have been written on disk
|
2018-11-20 08:04:27 +02:00
|
|
|
- **404**: The project or snapshot doesn't exist
|
2018-01-08 10:26:44 +02:00
|
|
|
|
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: ../../../examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt
|
2017-03-21 14:32:04 +02:00
|
|
|
|