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

# POST /v1/vms/images/{image_id}/upload

`POST /v1/vms/images/{image_id}/upload`

## Path parameters

- `image_id` string, required

## Request body

- VmorchImageUploadRequest — Request body for image upload presigned URL generation
  - `part_id` integer, required — part idx (1-based)

## Response `200`

- VmorchImageUploadResponse — Response body for image upload presigned URL generation
  - `upload_url` string, required — The presigned URL that can be used to upload the image part
  - `expires_at` string, required — Timestamp when the presigned URL expires (RFC 3339 format)

## Other responses

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

---

[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)
