---
title: "PUT /v1/vms/images/{image_id}/complete_upload"
method: PUT
path: "/v1/vms/images/{image_id}/complete_upload"
tags: ["VMs"]
---

# PUT /v1/vms/images/{image_id}/complete_upload

`PUT /v1/vms/images/{image_id}/complete_upload`

## Path parameters

- `image_id` string, required

## Request body

- VmorchCompleteUploadRequest — Request body for completing a multipart upload
  - `sha256_hash` string, required — SHA256 hash of the uploaded file for integrity verification

## Response `200`

- VmorchCompleteUploadResponse — Response body for completing a multipart upload
  - `object` 'image', required
  - `upload_status` string, required — Status of the upload verification
  - `image_id` string, required — The image ID

## Other responses

- `400`
- `401`
- `403`
- `404`
- `500`

## Changes

- **2026-02-17** `ad9dff266598` — 1 breaking, 8 info
  - removed the required property `id` from the response with the `200` status
  - the `sha256_hash` request property's minLength was decreased from `64` to `0`
  - removed the pattern `^[a-f0-9]{64}$` from the request property `sha256_hash`
  - the response property `object` became required for the status `200`
  - …5 more
- **2026-02-17** `48ff5f0fb9ee` — 4 breaking, 5 warning, 1 info
  - the `sha256_hash` request property's minLength was increased from `0` to `64`
  - added the pattern `^[a-f0-9]{64}$` to the request property `sha256_hash`
  - the response property `object` became optional for the status `200`
  - removed the required property `image_id` from the response with the `200` status
  - …6 more
- **2026-02-17** `0222183e15b3` — 1 breaking, 8 info
  - removed the required property `id` from the response with the `200` status
  - the `sha256_hash` request property's minLength was decreased from `64` to `0`
  - removed the pattern `^[a-f0-9]{64}$` from the request property `sha256_hash`
  - the response property `object` became required for the status `200`
  - …5 more
- …earlier changes not shown

[Full history](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/changes/v1/vms/images/:image_id/complete_upload/put.md)

---

[API](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/revisions/e799cec0ecec?raw)
