mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-12 19:38:57 +00:00
26 lines
816 B
ReStructuredText
26 lines
816 B
ReStructuredText
/v2/projects/{project_id}/snapshots/{snapshot_id}
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
.. contents::
|
|
|
|
DELETE /v2/projects/**{project_id}**/snapshots/**{snapshot_id}**
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Delete a snapshot from disk
|
|
|
|
Parameters
|
|
**********
|
|
- **snapshot_id**: Snasphot UUID
|
|
- **project_id**: Project UUID
|
|
|
|
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
|
|
|