1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 19:28:07 +00:00
gns3-server/docs/api/v2/controller/snapshot/projectsprojectidsnapshotssnapshotid.rst

26 lines
816 B
ReStructuredText
Raw Normal View History

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
**********
2018-01-08 08:26:44 +00:00
- **snapshot_id**: Snasphot UUID
- **project_id**: Project UUID
2016-07-26 17:57:53 +00:00
Response status codes
**********************
2018-01-08 08:26:44 +00:00
- **404**: The project or snapshot doesn't exist
- **204**: Changes have been written on disk
2018-01-08 08:26:44 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/controller_delete_projectsprojectidsnapshotssnapshotid.txt
2017-03-21 12:32:04 +00:00