/v2/projects/{project_id}/snapshots/{snapshot_id}¶
DELETE /v2/projects/{project_id}/snapshots/{snapshot_id}¶
Delete a snapshot from disk
Parameters¶
project_id: Project UUID
snapshot_id: Snapshot UUID
Response status codes¶
204: Changes have been written on disk
404: The project or snapshot doesn’t exist
Sample session¶
curl -i -X DELETE 'http://localhost:3080/v2/projects/fce2d46f-7f9c-4ccb-81ed-b0c4fb091bad/snapshots/33a11ad2-e6ef-4dde-9f8f-2ad50a93cd76'
DELETE /v2/projects/fce2d46f-7f9c-4ccb-81ed-b0c4fb091bad/snapshots/33a11ad2-e6ef-4dde-9f8f-2ad50a93cd76 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Wed, 08 Jan 2020 02:28:40 GMT
Server: Python/3.6 GNS3/2.2.4dev1
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}