Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
images
Create a private virtual machine image
curl --request POST \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/images \
  --header 'Authorization: <api-key>'
{
  "image": {
    "dataCenterId": "<string>",
    "description": "<string>",
    "id": "<string>",
    "platform": "<string>",
    "projectId": "<string>",
    "sizeGib": 123,
    "state": "UNKNOWN"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required

Query Parameters

vmId
string
required
id
string
required
description
string

Response

A successful response.

image
object