# Client API: Cloud Compute: Snapshots

> The 4 Client API operations for snapshots.

Source: https://www.coritan.com/docs/api/reference/client/cloud-compute/vps-snapshots/

Part of [Cloud Compute](/docs/api/reference/client/cloud-compute/).

## Operations

| Method | Path | Summary |
| --- | --- | --- |
| GET | [`/api/v1/client/vps/{uuid}/snapshots`](#op-get-api-v1-client-vps-uuid-snapshots) | List snapshots |
| POST | [`/api/v1/client/vps/{uuid}/snapshots`](#op-post-api-v1-client-vps-uuid-snapshots) | Create snapshot |
| DELETE | [`/api/v1/client/vps/{uuid}/snapshots/{snapshot_id}`](#op-delete-api-v1-client-vps-uuid-snapshots-snapshot-id) | Delete snapshot |
| POST | [`/api/v1/client/vps/{uuid}/snapshots/{snapshot_id}/rollback`](#op-post-api-v1-client-vps-uuid-snapshots-snapshot-id-rollback) | Rollback snapshot |

### List snapshots {#op-get-api-v1-client-vps-uuid-snapshots}

`GET /api/v1/client/vps/{uuid}/snapshots`

Authentication: an access token, sent as `Authorization: Bearer <token>`.

#### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| `uuid` | path | string | yes |

#### Responses

| Status | Meaning |
| --- | --- |
| `200` | Success. |
| `422` | The request is not valid. `detail` lists each problem. |

### Create snapshot {#op-post-api-v1-client-vps-uuid-snapshots}

`POST /api/v1/client/vps/{uuid}/snapshots`

Authentication: an access token, sent as `Authorization: Bearer <token>`.

#### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| `uuid` | path | string | yes |

#### Request body

`application/json` (required)

| Field | Type | Required |
| --- | --- | --- |
| `name` | string | yes |
| `description` | string or null | no |
| `vmstate` | boolean | no |

#### Responses

| Status | Meaning |
| --- | --- |
| `200` | Success. |
| `422` | The request is not valid. `detail` lists each problem. |

### Delete snapshot {#op-delete-api-v1-client-vps-uuid-snapshots-snapshot-id}

`DELETE /api/v1/client/vps/{uuid}/snapshots/{snapshot_id}`

Authentication: an access token, sent as `Authorization: Bearer <token>`.

#### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| `uuid` | path | string | yes |
| `snapshot_id` | path | integer | yes |

#### Responses

| Status | Meaning |
| --- | --- |
| `200` | Success. |
| `422` | The request is not valid. `detail` lists each problem. |

### Rollback snapshot {#op-post-api-v1-client-vps-uuid-snapshots-snapshot-id-rollback}

`POST /api/v1/client/vps/{uuid}/snapshots/{snapshot_id}/rollback`

Authentication: an access token, sent as `Authorization: Bearer <token>`.

#### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| `uuid` | path | string | yes |
| `snapshot_id` | path | integer | yes |

#### Responses

| Status | Meaning |
| --- | --- |
| `200` | Success. |
| `422` | The request is not valid. `detail` lists each problem. |
