Create Instance
API Version: 1.1.0 (06-Jan-2025)
Provision a new VPS
Authorizations
Body
hostnamestring · stringOptionalExample:
vm-hostname
payment_cyclestring · enumOptionalPossible values:
instance_typestring · uuidOptionalExample:
ea645d53-c0e5-406d-8863-9ecd4235be94
locationstring · stringOptionalExample:
Sydney
cpuinteger · int64OptionalExample:
2
raminteger · int64OptionalExample:
4096
diskinteger · int64OptionalExample:
40
osinteger · int64OptionalExample:
2
team_idstring · uuidOptionalExample:
6484a164-d355-4947-ac2c-e8c09fb24fb0
Responses
201
Successful operation
400
Bad request
402
Payment required
403
Forbidden
404
Not found
post
POST /vm HTTP/1.1
Host: api.cloud.onidel.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 211
{
"hostname": "vm-hostname",
"payment_cycle": "hourly",
"instance_type": "ea645d53-c0e5-406d-8863-9ecd4235be94",
"location": "Sydney",
"cpu": 2,
"ram": 4096,
"disk": 40,
"os": 2,
"team_id": "6484a164-d355-4947-ac2c-e8c09fb24fb0"
}
No content
Last updated