Skip to main content
POST
/
v1
/
vms
/
images
/
start_upload
Start image upload
curl --request POST \
  --url https://api.sfcompute.com/v1/vms/images/start_upload \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "object": "image",
  "image_id": "<string>"
}

Body

application/json

Request body for starting a multipart upload

name
string
required

Name of the image file. Must be unique per account.

Response

Image upload started successfully

Response body for starting a multipart upload

object
enum<string>
required
Available options:
image
Example:

"image"

image_id
string
required

The image ID for the created image