Skip to main content
POST
Create a compute instance

Request Reference

Use these slugs for the region, image, and specification fields in your request body.

Response Error Codes

If the request fails, the code field in the error response will contain one of the following.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Idempotency key (UUID v4)

Body

application/json
hostName
string
required
Example:

"my-server-01"

image
string
required
Example:

"UBUNTU-24.04"

publicKeys
string[]
required
Minimum array length: 1
Example:
region
string
required
Example:

"KGL-1"

specification
string
required

e.g. S-1C-1G or S-1C

Example:

"S-1C-1G"

tags
string[]
Example:
withPublicIp
boolean
Example:

true

Response

Accepted

message
string
Example:

"Operation successful"

requestId
string
Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

success
boolean
Example:

true

timestamp
string
Example:

"2024-01-15T10:00:00Z"

data
object