/v2/projects/{project_id}/snapshots/{snapshot_id}¶
Contents
DELETE /v2/projects/{project_id}/snapshots/{snapshot_id}¶
Delete a snapshot from disk
Parameters¶
- project_id: Project UUID
- snapshot_id: Snasphot 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/0b8da5eb-a8e3-47a7-b74a-b8440087ad20/snapshots/47c9b602-6e34-4190-94f9-6e7bd7d18c2d'
DELETE /v2/projects/0b8da5eb-a8e3-47a7-b74a-b8440087ad20/snapshots/47c9b602-6e34-4190-94f9-6e7bd7d18c2d HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:40 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}