---
title: "Update image export"
method: PATCH
path: "/v1/restore/image/{image_export_id}"
tags: ["Restores (Image)"]
---

# Update image export

`PATCH /v1/restore/image/{image_export_id}`

## Path parameters

- `image_export_id` string, required — ID of an image export

## Request body

- object
  - `iscsi` boolean — Whether the image export should be shared over iSCSI
  - `nfs` boolean — Whether the image export should be shared over NFS
  - `nfs_clients` string[]

## Response `202`

Accepted

- ImageExport — Image export object that represents an image export that has been created from a snapshot.
  - `agent_id` string, required — ID of an agent
  - `created_at` string, date-time, required — Creation timestamp
  - `device_id` string, required — ID of a device
  - `image_export_id` string, required — ID of an image export
  - `image_type` 'vhdx' | 'vhdx-dynamic' | 'vhd' | 'vmdk' | 'vmdk-flat' | 'qcow2' | 'raw', required — Image type of the image export
  - `iscsi` boolean — Whether the image export should be shared over iSCSI
  - `nfs` boolean — Whether the image export should be shared over NFS
  - `nfs_clients` string[]
  - `password` string, password — Samba password
  - `snapshot_id` string, required — ID of a snapshot

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/slide/apis/slide-api.md) · [All operations](https://skmtc.dev/slide/apis/slide-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/slide/slide-api/revisions/43f46c4c86cc/schema)
